X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=a9d25efa4ba997bda1aa7473b1af3ecee0007d75;hb=48a546b02c9e2c4e72a8aa83a2e36d1b8f24536b;hp=07c117d3d17c7da8722474128d5f0bd177bb7fc9;hpb=cd7bdd4076ca154575bbef85eb2157e59befcfe2;p=chaz%2Ftar diff --git a/src/Makefile.am b/src/Makefile.am index 07c117d..a9d25ef 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,6 @@ # Makefile for GNU tar sources. -# Copyright 1994-1997, 1999-2001, 2003, 2006-2007, 2009, 2013 Free +# Copyright 1994-1997, 1999-2001, 2003, 2006-2007, 2009, 2013-2014 Free # Software Foundation, Inc. # This file is part of GNU tar. @@ -51,3 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) LDADD = ../lib/libtar.a ../gnu/libgnu.a $(LIBINTL) $(LIBICONV) tar_LDADD = $(LIBS) $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIB_SELINUX) + +if TAR_LIB_ATTR +tar_LDADD += -lattr +endif