Skip to contentSkip to conversation

package/linknx: needs argp-standalone with uClibc toolchains

PATCH New Romain Naour 2 participants 2 messages May 3, 2015 – May 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/linknx: needs argp-standalone with uClibc toolchains

Fixes:
http://autobuild.buildroot.net/results/b27/b27c4b0822494fb393a5e28b8febd063222bd83f/

---
 package/linknx/Config.in | 1 +
 package/linknx/linknx.mk | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
package/linknx/Config.in +1 -0
index 6a26c20..9982f31 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LINKNX
 	bool "linknx"
 	select BR2_PACKAGE_LIBPTHSEM
+	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_MMU # libpthsem
 	help
package/linknx/linknx.mk +2 -1
index a7e6adb..9508a92 100644
@@ -15,7 +15,8 @@ LINKNX_CONF_OPTS = \
 	--with-pth=$(STAGING_DIR)/usr \
 	--disable-smtp
 
-LINKNX_DEPENDENCIES = libpthsem
+LINKNX_DEPENDENCIES = libpthsem \
+	$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
 
 ifeq ($(BR2_PACKAGE_MYSQL),y)
 LINKNX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config
Signature · 1 line
1.9.3