openbsd-ports/devel/glib/patches/patch-glib-config_in

21 lines
708 B
Plaintext
Raw Normal View History

--- glib-config.in.orig Sat Oct 28 00:35:30 2000
2001-10-05 23:40:12 -04:00
+++ glib-config.in Mon Oct 1 21:51:11 2001
@@ -88,7 +88,7 @@ if test "$echo_cflags" = "yes"; then
2001-02-19 15:34:46 -05:00
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
2001-02-19 15:34:46 -05:00
fi
if test "$echo_libs" = "yes"; then
libsp=""
2001-10-05 23:40:12 -04:00
@@ -98,7 +98,7 @@ if test "$echo_libs" = "yes"; then
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"