alsa-lib: fix static linking check

Closes #5732

The symbol for static linking is BR2_PREFER_STATIC_LIB.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2012-11-29 23:05:44 -08:00
parent 0f9bad95a0
commit 2b7be2f1de
2 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,10 @@
cjson, directfb, gdb, hiawatha, lcdproc, libdaemon, libecore,
libhid, libpcap, libusb, linux-fusion, ocf-linux, strace,
Issues resolved (http://bugs.uclibc.org):
#5732: Error : package/alsa-lib/alsa-lib.mk
2012.11-rc1, Released November 17th, 2012
Fixes all over the tree and new features.

View File

@ -17,7 +17,7 @@ ALSA_LIB_CONF_OPT = --with-alsa-devdir=$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_DEVD
--without-versioned
# Can't build with static & shared at the same time (1.0.25+)
ifeq ($(BR2_PREFER_STATIC),y)
ifeq ($(BR2_PREFER_STATIC_LIB),y)
ALSA_LIB_CONF_OPT += --enable-shared=no
else
ALSA_LIB_CONF_OPT += --enable-static=no