package/sdl_sound: add optional support for libmodplug
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 21 Feb 2016 14:56:47 +0000 (15:56 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2016 17:27:43 +0000 (18:27 +0100)
commit57ace26b6c12a2602b56500e57abb2bc79e30bdc
tree48532a84c9972a4aaaa6178f56c60b0461734606
parentbe589759ee12d47a44512cb5a4b17f5824991aa5
package/sdl_sound: add optional support for libmodplug

When libmodplug was compiled before, sdl_sound will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libSDL_sound-1.0.so.1.0.2 | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libmodplug.so.1]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/sdl_sound/sdl_sound.mk