From bc748951b976342c2c0216ed13b6d64b29b121d4 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Tue, 13 Oct 2009 20:53:25 +0000 Subject: Fix building Rockbox Utility when using newer versions of libspeex. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23164 a1c6a512-1295-4272-9138-f99709370657 --- tools/rbspeex/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/rbspeex/Makefile') diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile index 8c46677ce8..87ce08f3e7 100644 --- a/tools/rbspeex/Makefile +++ b/tools/rbspeex/Makefile @@ -33,7 +33,10 @@ endif # don't try to use the systems libspeex when building a static binary. ifndef STATIC -SYS_SPEEX = $(shell pkg-config --libs speex) +SYS_SPEEX = $(shell pkg-config --silence-errors --libs speex) +ifneq ($(SYS_SPEEX),) +SYS_SPEEX += $(shell pkg-config --silence-errors --libs speexdsp) +endif endif # fall back to our own librbspeex if no suitable found. -- cgit v1.2.3