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.
This commit is contained in:
Andreas Gruenbacher 2015-02-01 17:09:59 +01:00
parent b73c1f95cb
commit 8a9f5432d4

View File

@ -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