From: Matthias Clasen Date: Sun, 16 Sep 2007 16:15:34 +0000 (+0000) Subject: Replace -pthread by -lpthread for Freebsd, too. (#475619, Roy Marples) X-Git-Tag: GLIB_2_14_1~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=473260057876c984780c77db753b47abe5509d7c;p=platform%2Fupstream%2Fglib.git Replace -pthread by -lpthread for Freebsd, too. (#475619, Roy Marples) 2007-09-16 Matthias Clasen * configure.in: Replace -pthread by -lpthread for Freebsd, too. (#475619, Roy Marples) svn path=/trunk/; revision=5763 --- diff --git a/ChangeLog b/ChangeLog index 1739252..b7f464e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-09-16 Matthias Clasen + * configure.in: Replace -pthread by -lpthread for + Freebsd, too. (#475619, Roy Marples) + +2007-09-16 Matthias Clasen + * configure.in: When compiling against system pcre, add a private dependency to the pc file. This should fix static builds with system pcre. (#475923) diff --git a/configure.in b/configure.in index dbd2235..54e8468 100644 --- a/configure.in +++ b/configure.in @@ -1961,9 +1961,10 @@ fi # # 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/`" ;; *)