diff --git a/unix/configure b/unix/configure index 94726515..5c6a396c 100755 --- a/unix/configure +++ b/unix/configure @@ -6310,7 +6310,7 @@ S9XDEFS="$S9XDEFS -DGFX_MULTI_FORMAT" # Output. -S9XFLGS="$CXXFLAGS $CPPFLAGS $S9XFLGS" +S9XFLGS="$CXXFLAGS $CPPFLAGS $LDFLAGS $S9XFLGS" S9XLIBS="$LIBS $S9XLIBS" S9XFLGS="`echo \"$S9XFLGS\" | sed -e 's/ */ /g'`" diff --git a/unix/configure.ac b/unix/configure.ac index cde86b4d..13434673 100644 --- a/unix/configure.ac +++ b/unix/configure.ac @@ -450,7 +450,7 @@ S9XDEFS="$S9XDEFS -DGFX_MULTI_FORMAT" # Output. -S9XFLGS="$CXXFLAGS $CPPFLAGS $S9XFLGS" +S9XFLGS="$CXXFLAGS $CPPFLAGS $LDFLAGS $S9XFLGS" S9XLIBS="$LIBS $S9XLIBS" S9XFLGS="`echo \"$S9XFLGS\" | sed -e 's/ */ /g'`"