diff --git a/msys2-build.sh b/msys2-build.sh index ea1cdf770..c4c872030 100755 --- a/msys2-build.sh +++ b/msys2-build.sh @@ -7,8 +7,9 @@ echo ================================================================ # sed 's/-lm/-lm -lpcreposix/' c/Makefile.am > temp; mv temp c/Makefile.am # sed 's/-lm/-lm -lpcreposix/' c/unit_test/Makefile.am > temp; mv temp c/unit_test/Makefile.am -sed 's/-lm/-lm -static/' c/Makefile.am > temp; mv temp c/Makefile.am -sed 's/-lm/-lm -static/' c/unit_test/Makefile.am > temp; mv temp c/unit_test/Makefile.am +# to do: needs LDFLAGS mod +# sed 's/-lm/-lm -static/' c/Makefile.am > temp; mv temp c/Makefile.am +# sed 's/-lm/-lm -static/' c/unit_test/Makefile.am > temp; mv temp c/unit_test/Makefile.am sed 's/#undef MLR_ON_MSYS2/#define MLR_ON_MSYS2/' c/lib/mlr_arch.h > temp; mv temp c/lib/mlr_arch.h