diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2010-11-11 21:50:16 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2010-11-11 22:07:45 +0100 |
commit | ac36d86725da867d691b16668d88f096d0b7da37 (patch) | |
tree | 194e107681bf63d2b080071b27c2dd5565c019e7 /recipes/linux | |
parent | dc1e3efb70aeae1979e403defc2ec42c3481931c (diff) | |
download | openembedded-ac36d86725da867d691b16668d88f096d0b7da37.tar.gz |
libsdl-mixer 1.2.11: fix libvorbis's search path
without that patch configure outputed something like this:
checking tremor/ivorbisfile.h usability... yes
checking tremor/ivorbisfile.h presence... yes
checking for tremor/ivorbisfile.h... yes
checking for ov_open_callbacks in -lvorbisidec... no
configure: WARNING: *** Unable to find Ogg Vorbis Tremor library (http://www.xiph.org/)
configure: WARNING: Ogg Vorbis support disabled
Then digging into the configure script made me found that:
LIBS="-lvorbisfile $LIBS"
just before the compilation of the test(the following output comes from config.log):
configure:11947: arm-oe-linux-gnueabi-gcc [...] -o conftest [...] conftest.c -lvorbisfile -L/usr/lib -lmikmod -ldl -lm >&5
/usr/lib/libvorbisfile.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
configure:11947: $? = 1
we clearly see -lvorbisfile -L/usr/lib
./configure --help says:
LIBS libraries to pass to the linker, e.g. -l<library>
so I simply overwritten LIBS in the recipe in EXTRA_OECONF
The result was tested on nokia900 with wesnoth-wvga:
Before it couldn't play its ogg vorbis music, and now it can.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Diffstat (limited to 'recipes/linux')
0 files changed, 0 insertions, 0 deletions