X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=build.sh;h=a1a676981ae237a385c8229bce18e9d43cbe8705;hb=a708a0ccb7c547725e3067a3b67a95c11747c25b;hp=c7d557aad0aff0d35a95deab6e9e9d1d08a929a5;hpb=df135922b19890047ebf725e6b82cd1c174c6d52;p=collectd.git diff --git a/build.sh b/build.sh index c7d557aa..a1a67698 100755 --- 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" @@ -93,6 +93,7 @@ build_cygwin() --dir=${TOP_SRCDIR}/gnulib/build \ canonicalize-lgpl \ fcntl-h \ + fnmatch \ getsockopt \ gettimeofday \ nanosleep \ @@ -141,7 +142,10 @@ build_cygwin() --datarootdir="${DATADIR}" \ --disable-all-plugins \ --host="mingw32" \ - --enable-logfile + --enable-logfile \ + --enable-match_regex \ + --enable-target_replace \ + --enable-target_set cp ${GNULIB_DIR}/../config.h src/gnulib_config.h echo "#include " >> src/gnulib_config.h