aboutsummaryrefslogtreecommitdiff
path: root/package/axel/axel.mk
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2016-08-14 15:51:09 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-08-16 08:11:44 +0200
commit161746ca8fde099fa2994a00f89f829f02924897 (patch)
treef0935708eb14d589589e40fbccc6c0ec8c615a58 /package/axel/axel.mk
parentcc3f8bc16556f5d40ef006539cca7c3ba1300c7d (diff)
downloadbuildroot-161746ca8fde099fa2994a00f89f829f02924897.tar.gz
buildroot-161746ca8fde099fa2994a00f89f829f02924897.tar.bz2
package/axel: fix link order
libintl may use thread-related functions, so -lpthread must come after -lintl. Fixes: http://autobuild.buildroot.org/results/e9d/e9d89fd5b24a76a3c5ab9dc8f01f4643f7c13396/ [Peter: use -lpthread in comment as suggested by Arnout] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/axel/axel.mk')
-rw-r--r--package/axel/axel.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/axel/axel.mk b/package/axel/axel.mk
index 6328d997e1..25357a379b 100644
--- a/package/axel/axel.mk
+++ b/package/axel/axel.mk
@@ -9,13 +9,14 @@ AXEL_SITE = http://sources.buildroot.net
AXEL_LICENSE = GPLv2+
AXEL_LICENSE_FILES = COPYING
-AXEL_LDFLAGS = -lpthread
-
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
AXEL_DEPENDENCIES += gettext
AXEL_LDFLAGS += -lintl
endif
+# -lintl may use symbols from -lpthread
+AXEL_LDFLAGS += -lpthread
+
ifneq ($(BR2_ENABLE_LOCALE),y)
AXEL_DISABLE_I18N = --i18n=0
endif