From 4f5c7b45d55a074d238d1052e4a55485d91b5987 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Thu, 1 Jun 2006 14:19:17 +0000 Subject: fix: adjust threading related compiler flags --- ChangeLog | 8 ++++++++ configure.in | 2 +- fuse.pc.in | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 363ef74..041dfcb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-06-01 Csaba Henk + + * lib: adjust threading related compiler flags. + Switch to "-pthread" from "-lpthread" as that's the preferred + one on several platforms. Consulted with Terrence Cole and + Miklos Szeredi + + 2006-05-16 Miklos Szeredi * Test commit diff --git a/configure.in b/configure.in index d6dc70d..8262670 100644 --- a/configure.in +++ b/configure.in @@ -63,7 +63,7 @@ fi AC_CHECK_FUNCS([fork setxattr fdatasync]) AC_CHECK_MEMBERS([struct stat.st_atim]) -libfuse_libs=-lpthread +libfuse_libs=-pthread LIBS= AC_SEARCH_LIBS(clock_gettime, [rt]) libfuse_libs="$libfuse_libs $LIBS" diff --git a/fuse.pc.in b/fuse.pc.in index 669d33f..33eda5b 100644 --- a/fuse.pc.in +++ b/fuse.pc.in @@ -6,5 +6,5 @@ includedir=@includedir@ Name: fuse Description: Filesystem in Userspace Version: @VERSION@ -Libs: -L${libdir} -lfuse -lpthread +Libs: -L${libdir} -lfuse -pthread Cflags: -I${includedir}/fuse -D_FILE_OFFSET_BITS=64 -- cgit v1.2.3