From 592ab485a70ab4c8e4cefc37bbdfb76110f9205e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 9 Jan 2022 18:59:51 +0100 Subject: New upstream version 0.9.6 --- make-distcheck.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'make-distcheck.sh') diff --git a/make-distcheck.sh b/make-distcheck.sh index 0918a08..2968dd0 100755 --- a/make-distcheck.sh +++ b/make-distcheck.sh @@ -72,6 +72,16 @@ check_tarball() ( cmake "${@:2}" .. make + + # NOTE: We need to copy some .dll files next to the + # Windows binaries so that they are ready to be executed + if [[ "${*:2}" == *mingw* ]]; then + cp /usr/lib/gcc/i686-w64-mingw32/*-posix/libgcc_s_sjlj-1.dll ./ + cp /usr/lib/gcc/i686-w64-mingw32/*-posix/libstdc++-6.dll ./ + cp /usr/i686-w64-mingw32/lib/libwinpthread-1.dll ./ + cp "${GTEST_PREFIX:?}"/bin/libgtest.dll ./ + fi + make test make DESTDIR="${PWD}"/ROOT/ install ) -- cgit v1.2.3