fix: adjust threading related compiler flags
diff --git a/ChangeLog b/ChangeLog
index 363ef74..041dfcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-06-01  Csaba Henk <csaba.henk@creo.hu>
+
+	* 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 <miklos@szeredi.hu>
 
 	* Test commit
diff --git a/configure.in b/configure.in
index d6dc70d..8262670 100644
--- a/configure.in
+++ b/configure.in
@@ -63,7 +63,7 @@
 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 @@
 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