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>
This commit is contained in:
parent
cc3f8bc165
commit
161746ca8f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user