From: Yann E. MORIN Date: Sun, 14 Aug 2016 13:51:09 +0000 (+0200) Subject: package/axel: fix link order X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=161746ca8fde099fa2994a00f89f829f02924897;p=buildroot.git 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" Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- 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