diff options
| author | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2022-01-09 18:59:51 +0100 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2022-01-09 18:59:51 +0100 | 
| commit | 592ab485a70ab4c8e4cefc37bbdfb76110f9205e (patch) | |
| tree | cf0450fbe4f1bca6052f30bd66eef4c2cc839ada /make-distcheck.sh | |
| parent | cb39f81ea1957f5fdd9b5b67d7d326091efd3d02 (diff) | |
New upstream version 0.9.6upstream/0.9.6
Diffstat (limited to 'make-distcheck.sh')
| -rwxr-xr-x | make-distcheck.sh | 10 | 
1 files changed, 10 insertions, 0 deletions
| 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      ) | 
