angstrom mirrors: fix regression introduced by http://cgit.openembedded.org/cgit...
[openembedded.git] / recipes / glib-2.0 / glib-2.0-2.12.10 / configure-libtool.patch
blob50ffc628db3ea230522e85b1f752e9243098e650
1 --- /tmp/configure.in 2007-02-04 12:07:05.000000000 +0100
2 +++ glib-2.12.9/configure.in 2007-02-04 12:08:04.655251000 +0100
3 @@ -1174,7 +1174,7 @@
4 G_MODULE_LDFLAGS=
5 else
6 export SED
7 - G_MODULE_LDFLAGS=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
8 + G_MODULE_LDFLAGS=`(./$host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
9 fi
10 dnl G_MODULE_IMPL= don't reset, so cmd-line can override
11 G_MODULE_NEED_USCORE=0
12 @@ -1239,7 +1239,7 @@
13 LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS"
14 dnl *** check for OSF1/5.0 RTLD_GLOBAL brokenness
15 echo "void glib_plugin_test(void) { }" > plugin.c
16 - ${SHELL} ./libtool --mode=compile ${CC} -shared \
17 + ${SHELL} ./$host_alias-libtool --mode=compile ${CC} -shared \
18 -export-dynamic -o plugin.o plugin.c 2>&1 >/dev/null
19 AC_CACHE_CHECK([for RTLD_GLOBAL brokenness],
20 glib_cv_rtldglobal_broken,[