From f68c48bcecc5d047bb25c9c41a3f99bc528400b0 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 29 Oct 2001 21:32:32 +0000 Subject: [PATCH] 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 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index dfed6143..8077c8b6 100644 --- a/configure.in +++ b/configure.in @@ -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