diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b2f81deb..e191e54c 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ AC_MSG_CHECKING([if linker supports -static]) old_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -static" AC_LINK_IFELSE( - [AC_LANG_SOURCE([[void foo (void) { return; }]])], + [AC_LANG_SOURCE([[int main (int argc, char *argv[]) { return 0; }]])], [ AC_MSG_RESULT(yes) LD_STATIC_FLAG='-static' |