summaryrefslogtreecommitdiff
path: root/modules/fdatasync
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-09-16 14:12:01 -0600
committerEric Blake <eblake@redhat.com>2011-09-16 14:12:01 -0600
commitfa7cfa720110dc45ed470592c6bbb8c69f3b84ee (patch)
treef5072cbeace2385fdf2a229b0fcf1c38f25fef98 /modules/fdatasync
parentc14a71ce5f8a891ee3fe00f9ccbe2d3c85062708 (diff)
downloadgnulib-fa7cfa720110dc45ed470592c6bbb8c69f3b84ee.tar.gz
fdatasync: port to Solaris
Cater to Solaris requiring extra libraries for fdatasync. * m4/fdatasync.m4 (gl_FUNC_FDATASYNC): Set LIB_FDATASYNC. * modules/fdatasync (Link): Document it. * modules/fdatasync-tests (test_fdatasync_LDADD): Link with it. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'modules/fdatasync')
-rw-r--r--modules/fdatasync3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/fdatasync b/modules/fdatasync
index 19c1aeeea8..62f710d9e5 100644
--- a/modules/fdatasync
+++ b/modules/fdatasync
@@ -21,6 +21,9 @@ Makefile.am:
Include:
<unistd.h>
+Link:
+$(LIB_FDATASYNC)
+
License:
LGPLv2+