openbsd-ports/devel/glib/patches/patch-glib-config_in
brad 5167c02cda - integrate COMMENT
- enable thread support by default using Pth
2001-04-03 14:12:47 +00:00

21 lines
636 B
Plaintext

--- glib-config.in.orig Sat Oct 28 00:35:30 2000
+++ glib-config.in Mon Mar 26 20:36:35 2001
@@ -88,7 +88,7 @@
if test "$lib_gthread" = "yes"; then
cflags="$cflags @G_THREAD_CFLAGS@"
fi
- echo -I@includedir@/glib-1.2 -I@libdir@/glib/include $includes $cflags
+ echo -I@includedir@/glib-1.2 $includes $cflags
fi
if test "$echo_libs" = "yes"; then
libsp=""
@@ -98,7 +98,7 @@
fi
if test "$lib_gthread" = "yes"; then
libsp="-lgthread $libsp"
- libsa="$libsa @G_THREAD_LIBS@"
+ libsa="$libsa -L!!PTHREAD_LIBDIR!! @G_THREAD_LIBS@"
fi
if test "$lib_gmodule" = "yes"; then
libsp="@G_MODULE_LDFLAGS@ -lgmodule $libsp"