aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--example/Makefile.am4
-rw-r--r--fuse.pc.in3
3 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index df79788..88868b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-26 Miklos Szeredi <miklos@szeredi.hu>
+
+ * Remove -lrt -ldl from fuse.pc for dynamic linking since
+ libfuse.so is already linked with these libraries. Reported by:
+ Nikolaus Rath
+
2011-05-20 Miklos Szeredi <miklos@szeredi.hu>
* Cleaner build output. Patch by Reuben Hawkins
diff --git a/example/Makefile.am b/example/Makefile.am
index 718b30a..1c04057 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -5,8 +5,8 @@ noinst_HEADERS = fioc.h
noinst_PROGRAMS = fusexmp fusexmp_fh null hello hello_ll fioc fioclient \
fsel fselclient cusexmp
-LDADD = ../lib/libfuse.la @libfuse_libs@
-fusexmp_fh_LDADD = ../lib/libfuse.la ../lib/libulockmgr.la @libfuse_libs@
+LDADD = ../lib/libfuse.la
+fusexmp_fh_LDADD = ../lib/libfuse.la ../lib/libulockmgr.la
fioclient_CPPFLAGS =
fioclient_LDFLAGS =
diff --git a/fuse.pc.in b/fuse.pc.in
index 9f98892..d87f7af 100644
--- a/fuse.pc.in
+++ b/fuse.pc.in
@@ -6,5 +6,6 @@ includedir=@includedir@
Name: fuse
Description: Filesystem in Userspace
Version: @VERSION@
-Libs: -L${libdir} -lfuse @libfuse_libs@
+Libs: -L${libdir} -lfuse
+Libs.private: @libfuse_libs@
Cflags: -I${includedir}/fuse -D_FILE_OFFSET_BITS=64