Add GNULIB_DIR to LDFLAGS in configure.ac on Windows
[collectd.git] / build.sh
index c7d557a..c4eada6 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -77,7 +77,7 @@ build_cygwin()
     echo "Installing collectd to ${INSTALL_DIR}."
     TOP_SRCDIR=$(pwd)
     MINGW_ROOT="$(x86_64-w64-mingw32-gcc -print-sysroot)/mingw"
-    GNULIB_DIR="${TOP_SRCDIR}/gnulib/build/gllib"
+    export GNULIB_DIR="${TOP_SRCDIR}/gnulib/build/gllib"
 
     export CC="x86_64-w64-mingw32-gcc"