--- glib-2.24.0/tests/run-assert-msg-test.sh.orig	2010-04-13 06:59:27.748160850 +0000
+++ glib-2.24.0/tests/run-assert-msg-test.sh	2010-04-13 07:05:19.068229180 +0000
@@ -29,12 +29,8 @@
   exit 0
 fi
 
-msg_test="assert-msg-test"
-if [ -e ".libs/lt-$msg_test" ]; then
-       msg_test="lt-$msg_test"
-fi
 echo_v "Running gdb on assert-msg-test"
-OUT=$(gdb --batch --ex run --ex "print (char*) __glib_assert_msg" .libs/$msg_test 2> $error_out) || \
+OUT=$(../libtool --mode=execute gdb --batch --ex run --ex "print (char*) __glib_assert_msg" assert-msg-test 2> $error_out) || \
   fail "failed to run gdb"
 
 echo_v "Checking if assert message is in __glib_assert_msg"