mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Replace -pthread by -lpthread for Freebsd, too. (#475619, Roy Marples)
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
This commit is contained in:
parent
6972901388
commit
4732600578
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2007-09-16 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* configure.in: When compiling against system pcre,
|
* configure.in: When compiling against system pcre,
|
||||||
|
@ -1961,9 +1961,10 @@ fi
|
|||||||
#
|
#
|
||||||
# a) GCC < 3.3 for Linux doesn't include -lpthread when
|
# a) GCC < 3.3 for Linux doesn't include -lpthread when
|
||||||
# building shared libraries with linux.
|
# building shared libraries with linux.
|
||||||
|
# b) FreeBSD doesn't do this either.
|
||||||
#
|
#
|
||||||
case $host in
|
case $host in
|
||||||
*-*-linux*)
|
*-*-freebsd*|*-*-linux*)
|
||||||
G_THREAD_LIBS_FOR_GTHREAD="`echo $G_THREAD_LIBS | sed s/-pthread/-lpthread/`"
|
G_THREAD_LIBS_FOR_GTHREAD="`echo $G_THREAD_LIBS | sed s/-pthread/-lpthread/`"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user