swupdate: replace BR2_PREFER_STATIC_LIB with BR2_STATIC_LIBS
authorDanomi Manchego <danomimanchego123@gmail.com>
Sat, 10 Dec 2016 02:23:00 +0000 (21:23 -0500)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 10 Dec 2016 08:10:14 +0000 (09:10 +0100)
The symbol to control static compilation was renamed in 2015.02, but missed
when swupdate was added.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/swupdate/swupdate.mk

index c905c1d74605825dab144fd8295943222d459efe..688f4eef86c86afcc4d4cd67ee1321c362abfcda 100644 (file)
@@ -83,7 +83,7 @@ SWUPDATE_BUILD_CONFIG = $(@D)/.config
 SWUPDATE_KCONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_SWUPDATE_CONFIG))
 SWUPDATE_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig
 
-ifeq ($(BR2_PREFER_STATIC_LIB),y)
+ifeq ($(BR2_STATIC_LIBS),y)
 define SWUPDATE_PREFER_STATIC
        $(call KCONFIG_ENABLE_OPT,CONFIG_STATIC,$(SWUPDATE_BUILD_CONFIG))
 endef