浏览代码

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>
Peter Korsgaard 11 年之前
父节点
当前提交
2b7be2f1de
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 4 0
      CHANGES
  2. 1 1
      package/alsa-lib/alsa-lib.mk

+ 4 - 0
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.

+ 1 - 1
package/alsa-lib/alsa-lib.mk

@@ -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