add check for undefined symbols
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Thu, 4 Apr 2019 12:03:23 +0000 (14:03 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Thu, 4 Apr 2019 12:03:23 +0000 (14:03 +0200)
configure.ac

index e0f58b985b67604d90175344f658932b21ebe202..8f85370a77e08404e6806f03ad887e2b1ef70545 100644 (file)
@@ -50,6 +50,7 @@ AC_FUNC_FSEEKO
 
 
 CFLAGS="-Wall $CFLAGS"
+LDFLAGS="$LDFLAGS -Wl,--unresolved-symbols=report-all"
 # use '-fno-strict-aliasing', but only if the compiler can take it
 if gcc -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1;
 then