alsa-lib: fix static linking check
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 30 Nov 2012 07:05:44 +0000 (23:05 -0800)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 30 Nov 2012 07:05:44 +0000 (23:05 -0800)
Closes #5732

The symbol for static linking is BR2_PREFER_STATIC_LIB.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/alsa-lib/alsa-lib.mk

diff --git a/CHANGES b/CHANGES
index 0da2d77ccdb68bf8179ae8e9c05924aa5482d25c..db7b233ed6a382bd230d444add9b124f013998d9 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -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.
index daa551d39950201d4cc888b5c7d24e9db090a7eb..eddd3d2f369809640a70c1b7d18c11b9d1eccc58 100644 (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