forked from len0rd/rockbox
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
This commit is contained in:
parent
d587794dfc
commit
e8bab4e3a0
2 changed files with 6 additions and 9 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue