1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Dominik Riebeling 2009-10-13 20:53:25 +00:00
parent 81ef39bd8d
commit bc748951b9
2 changed files with 9 additions and 3 deletions

View file

@ -28,8 +28,11 @@ RBBASE_DIR = $$replace(RBBASE_DIR,/rbutil/rbutilqt,)
message("Rockbox Base dir: "$$RBBASE_DIR)
# check for system speex. Add a custom rule for pre-building librbspeex if not found.
LIBSPEEX = $$system(pkg-config --libs speex)
!static:!isEmpty(LIBSPEEX) {
LIBSPEEX = $$system(pkg-config --silence-errors --libs speex)
!static:!isEmpty(LIBSPEEX)
# newer versions of speex are split up into libspeex and libspeexdsp.
# avoid checking twice if libspeex is missing.
LIBSPEEX += $$system(pkg-config --silence-errors --libs speexdsp)
LIBS += $$LIBSPEEX
}
!mac {