summaryrefslogtreecommitdiff
path: root/fuse.pc.in
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2012-05-16 16:45:27 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2012-05-16 16:45:27 +0200
commit384496dd02cfd9a74b95d62ce0d23a31a7af3730 (patch)
tree056675b9a2d44cc46673e183a912ab33b2483718 /fuse.pc.in
parentacc5c79dd60c1c2aa528743394e3a9fad7f5def3 (diff)
downloadfuse-384496dd02cfd9a74b95d62ce0d23a31a7af3730.tar.gz
Fix -pthread in fuse.pc
Linking to a library that uses threads requires the application to be linked with -pthreads otherwise some pthread functions will be linked to stubs in glibc. So move -pthread from Libs.private to Libs in fuse.pc. Reported by Werner Fink
Diffstat (limited to 'fuse.pc.in')
-rw-r--r--fuse.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuse.pc.in b/fuse.pc.in
index d87f7af..8fdb841 100644
--- a/fuse.pc.in
+++ b/fuse.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: fuse
Description: Filesystem in Userspace
Version: @VERSION@
-Libs: -L${libdir} -lfuse
+Libs: -L${libdir} -lfuse -pthread
Libs.private: @libfuse_libs@
Cflags: -I${includedir}/fuse -D_FILE_OFFSET_BITS=64