Port linking to AIX 7.1
* src/Makefile.am (LDADD): Remove, folding into tar_LDADD. * src/Makefile.am (tar_LDADD), tests/Makefile.am (LDADD): Add the libraries gnulib-tool currently recommends: LIB_ACL, LIB_CLOCK_GETTIME, LIB_GETRANDOM, LIB_HARD_LOCALE, LIB_HAS_ACL, LIB_MBRTOWC, LIB_SETLOCALE_NULL. Otherwise, tar won’t link on AIX 7.1 with xlc because the -lpthread option is missing.
This commit is contained in:
@@ -327,4 +327,7 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/lib\
|
||||
-DLOCALEDIR=\"$(localedir)\"
|
||||
|
||||
LDADD = ../gnu/libgnu.a $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS)
|
||||
LDADD = ../gnu/libgnu.a\
|
||||
$(LIB_ACL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS)\
|
||||
$(LIB_GETRANDOM) $(LIB_HARD_LOCALE) $(LIB_HAS_ACL) $(LIB_MBRTOWC)\
|
||||
$(LIB_SELINUX) $(LIB_SETLOCALE_NULL)
|
||||
|
||||
Reference in New Issue
Block a user