1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

Link with $LDFLAGS when trying to compile one of the test programs..

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1945 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-10-29 21:32:32 +00:00 committed by cras
parent 7b7b235ce8
commit f68c48bcec

View File

@ -417,7 +417,7 @@ else if (!g_module_symbol(m, "modfunc", (gpointer *) &modfunc))
else if (modfunc() == 1) g_print("ok"); else g_print("wrong result?! 1 vs %d", modfunc());
return 0; }
EOF
$CC $CFLAGS conftest.c -o conftest $GLIB_CFLAGS $GLIB_LIBS 2> /dev/null > /dev/null
$CC $CFLAGS $LDFLAGS conftest.c -o conftest $GLIB_CFLAGS $GLIB_LIBS 2> /dev/null > /dev/null
if test ! -s conftest; then
AC_MSG_RESULT([no, error compiling test program])
else