From 6ea07d5286c00ac286615d4bc340c531fbfc5ebd Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 18 Nov 2014 21:47:39 -0300 Subject: [PATCH] ndisc6: use LIBS for libintl Use LIBS instead of LDFLAGS for "-lintl", otherwise LDFLAGS gets evaluated to the left of object files and fails to link statically because of incorrect symbol resolution order. Fixes: http://autobuild.buildroot.net/results/21b/21bf88c9dbaecc204598e60dd9c7392a85068dd6/ Also rename patch to new naming convention. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- ...upd-uClibc-fix.patch => 0001-trace-tcp-upd-uClibc-fix.patch} | 0 package/ndisc6/ndisc6.mk | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename package/ndisc6/{ndisc6-trace-tcp-upd-uClibc-fix.patch => 0001-trace-tcp-upd-uClibc-fix.patch} (100%) diff --git a/package/ndisc6/ndisc6-trace-tcp-upd-uClibc-fix.patch b/package/ndisc6/0001-trace-tcp-upd-uClibc-fix.patch similarity index 100% rename from package/ndisc6/ndisc6-trace-tcp-upd-uClibc-fix.patch rename to package/ndisc6/0001-trace-tcp-upd-uClibc-fix.patch diff --git a/package/ndisc6/ndisc6.mk b/package/ndisc6/ndisc6.mk index b0e4caf6fd..cd43b01a3a 100644 --- a/package/ndisc6/ndisc6.mk +++ b/package/ndisc6/ndisc6.mk @@ -14,7 +14,7 @@ NDISC6_LICENSE_FILES = COPYING ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) NDISC6_DEPENDENCIES += gettext -NDISC6_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lintl" +NDISC6_CONF_ENV += LIBS="-lintl" endif NDISC6_BIN_ += dnssort # perl script -- 2.30.2