summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@gnu.org>2015-02-01 17:09:59 +0100
committerAndreas Gruenbacher <agruen@gnu.org>2015-02-01 17:09:59 +0100
commit8a9f5432d414c43027a8ac62df4e1bd80ca5324a (patch)
tree4f9230a03fd930fdd646cac5a4cf6a5ce9183382
parentb73c1f95cb9ef985a0bf61e33cfbb54f2624ba1d (diff)
downloadpatch-8a9f5432d414c43027a8ac62df4e1bd80ca5324a.tar.gz
Link patch with LIB_EACCESS where needed
* src/Makefile.am (patch_LDADD): Add LIB_EACCESS here. At least on Solaris, faccessat() is implemented through eaccess() which is in the "gen" library.
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7690760..ee773cd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -36,7 +36,7 @@ patch_SOURCES = \
AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib
patch_LDADD = $(LDADD) $(top_builddir)/lib/libpatch.a $(LIB_CLOCK_GETTIME) \
- $(LIB_XATTR)
+ $(LIB_XATTR) $(LIB_EACCESS)
if ENABLE_MERGE
patch_SOURCES += merge.c