mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05: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:
parent
7b7b235ce8
commit
f68c48bcec
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user