summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Bray <pdb_ml@yahoo.com.au>2015-07-15 08:31:21 +0100
committerPádraig Brady <P@draigBrady.com>2015-07-15 08:40:51 +0100
commit9d2597161d259df3f4ab73a33a832010ea3e4d58 (patch)
tree6b8169a06ed3fab027a71579f16c28d5f9709692 /src
parent1a78f6a064e5275b6c3edee841447705c8911bb2 (diff)
downloadcoreutils-9d2597161d259df3f4ab73a33a832010ea3e4d58.tar.xz
sync: fix build with separate $(LIB_FDATASYNC)
* src/local.mk: Link with $(LIB_FDATASYNC) needed on some Solaris 10 systems for example. Fixes http://bugs.gnu.org/21059
Diffstat (limited to 'src')
-rw-r--r--src/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/local.mk b/src/local.mk
index eaeed08e7..3fb167692 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -263,6 +263,7 @@ src_ls_LDADD += $(LIB_CAP)
# for fdatasync
src_dd_LDADD += $(LIB_FDATASYNC)
src_shred_LDADD += $(LIB_FDATASYNC)
+src_sync_LDADD += $(LIB_FDATASYNC)
# for xnanosleep
src_sleep_LDADD += $(LIB_NANOSLEEP)