summaryrefslogtreecommitdiffstats
path: root/package/ndisc6
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-05-15 09:42:44 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-15 09:42:44 +0200
commit0b6f3f2645a50a115c974cdc6dd0e2d8b96837b2 (patch)
tree47d70f15b9c86ac5c69f1ada858e7cf11c3b66a2 /package/ndisc6
parentef10335f6f678052e7751fd8e03903c9f713789a (diff)
downloadbuildroot-novena-0b6f3f2645a50a115c974cdc6dd0e2d8b96837b2.tar.gz
buildroot-novena-0b6f3f2645a50a115c974cdc6dd0e2d8b96837b2.zip
ndisc6: fix build when libintl is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ndisc6')
-rw-r--r--package/ndisc6/ndisc6.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/ndisc6/ndisc6.mk b/package/ndisc6/ndisc6.mk
index 8451e06a4..7cf4b8aeb 100644
--- a/package/ndisc6/ndisc6.mk
+++ b/package/ndisc6/ndisc6.mk
@@ -10,6 +10,11 @@ NDISC6_SITE = http://www.remlab.net/files/ndisc6/
NDISC6_CONF_ENV = CC="$(TARGET_CC) -std=gnu99"
NDISC6_CONF_OPT = --localstatedir=/var --disable-rpath --disable-suid-install
+ifeq ($(BR2_PACKAGE_LIBINTL),y)
+NDISC6_DEPENDENCIES += libintl
+NDISC6_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lintl"
+endif
+
NDISC6_BIN_ += dnssort # perl script
NDISC6_BIN_$(BR2_PACKAGE_NDISC6_NAME2ADDR) += name2addr addr2name
NDISC6_BIN_$(BR2_PACKAGE_NDISC6_TCPSPRAY) += tcpspray tcpspray6