summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/linknx/Config.in1
-rw-r--r--package/linknx/linknx.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/linknx/Config.in b/package/linknx/Config.in
index 6a26c207d5..9982f3159d 100644
--- a/package/linknx/Config.in
+++ b/package/linknx/Config.in
@@ -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
diff --git a/package/linknx/linknx.mk b/package/linknx/linknx.mk
index a7e6adb22c..7ecd947a7f 100644
--- a/package/linknx/linknx.mk
+++ b/package/linknx/linknx.mk
@@ -15,7 +15,7 @@ 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
OpenPOWER on IntegriCloud