2007-09-16 Matthias Clasen <mclasen@redhat.com>
* configure.in: Replace -pthread by -lpthread for
Freebsd, too. (#475619, Roy Marples)
svn path=/trunk/; revision=5763
2007-09-16 Matthias Clasen <mclasen@redhat.com>
+ * configure.in: Replace -pthread by -lpthread for
+ Freebsd, too. (#475619, Roy Marples)
+
+2007-09-16 Matthias Clasen <mclasen@redhat.com>
+
* configure.in: When compiling against system pcre,
add a private dependency to the pc file. This should
fix static builds with system pcre. (#475923)
#
# a) GCC < 3.3 for Linux doesn't include -lpthread when
# building shared libraries with linux.
+# b) FreeBSD doesn't do this either.
#
case $host in
- *-*-linux*)
+ *-*-freebsd*|*-*-linux*)
G_THREAD_LIBS_FOR_GTHREAD="`echo $G_THREAD_LIBS | sed s/-pthread/-lpthread/`"
;;
*)