summaryrefslogtreecommitdiffstats
path: root/tools/rbspeex/Makefile
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-10-13 20:53:25 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-10-13 20:53:25 +0000
commitbc748951b976342c2c0216ed13b6d64b29b121d4 (patch)
tree1e520f8a2781a4d0f4c240adb4bf3a7d1e2f1c0b /tools/rbspeex/Makefile
parent81ef39bd8d6005c09d8245ab36ed87f38a4aa95c (diff)
downloadrockbox-bc748951b976342c2c0216ed13b6d64b29b121d4.tar.gz
rockbox-bc748951b976342c2c0216ed13b6d64b29b121d4.tar.bz2
rockbox-bc748951b976342c2c0216ed13b6d64b29b121d4.zip
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
Diffstat (limited to 'tools/rbspeex/Makefile')
-rw-r--r--tools/rbspeex/Makefile5
1 files changed, 4 insertions, 1 deletions
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.