From 01951180fbb968a89faec699478a335e2bed0e75 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Sun, 2 Jul 2017 14:16:26 -0400 Subject: [PATCH] appveyor iterate: attempt static build --- msys2-build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/msys2-build.sh b/msys2-build.sh index c30002366..ea1cdf770 100755 --- a/msys2-build.sh +++ b/msys2-build.sh @@ -7,6 +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 + sed 's/#undef MLR_ON_MSYS2/#define MLR_ON_MSYS2/' c/lib/mlr_arch.h > temp; mv temp c/lib/mlr_arch.h echo ================================================================