From e8bab4e3a0eccf8a2b855174ccb02737b84eedb9 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 6 Dec 2009 10:19:43 +0000 Subject: Improve detection of system libspeex and fallback earlier. libspeex is split into libspeex and libspeexdsp. We need both, so check for them the same time instead of trying to respect the fact that old versions didn't have the libspeexdsp part. Should fix issues with distributions that have libspeex and libspeexdsp split into separate packages and only the libspeex one is installed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23872 a1c6a512-1295-4272-9138-f99709370657 --- tools/rbspeex/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tools/rbspeex/Makefile') diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile index 6385c8a869..780fff2472 100644 --- a/tools/rbspeex/Makefile +++ b/tools/rbspeex/Makefile @@ -29,10 +29,7 @@ endif # don't try to use the systems libspeex when building a static binary. ifndef STATIC -SYS_SPEEX = $(shell pkg-config --silence-errors --libs speex) -ifneq ($(SYS_SPEEX),) -SYS_SPEEX += $(shell pkg-config --silence-errors --libs speexdsp) -endif +SYS_SPEEX = $(shell pkg-config --silence-errors --libs speex speexdsp) endif # fall back to our own librbspeex if no suitable found. -- cgit v1.2.3