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

21 lines
636 B
Plaintext
Raw Normal View History

--- 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 @@
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=""
@@ -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"