summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/rbspeex/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile
index 8c46677..87ce08f 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.