--- glib-config.in.orig	Sat Oct 28 00:35:30 2000
+++ glib-config.in	Mon Oct  1 21:51:11 2001
@@ -88,7 +88,7 @@ if test "$echo_cflags" = "yes"; then
 	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 @@ 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"
