From c1e565c714da498a696dc5e94fd9b5f69c1968c1 Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Mon, 29 Feb 2016 02:23:25 -0800 Subject: [PATCH] Do not copy gcc dlls from dist-extras in windows binary-dist Use versions from the build system rather than win-extras (which downloads from opensuse) Remove gcc dlls from downloaded nightly on appveyor --- Makefile | 2 +- contrib/windows/msys_build.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e53806eb4c914..1ff6f833e6350 100644 --- a/Makefile +++ b/Makefile @@ -470,7 +470,7 @@ endif ifeq ($(OS), WINNT) [ ! -d $(JULIAHOME)/dist-extras ] || ( cd $(JULIAHOME)/dist-extras && \ - cp 7z.exe 7z.dll libexpat-1.dll zlib1.dll libgfortran-3.dll libquadmath-0.dll libstdc++-6.dll libgcc_s_s*-1.dll libssp-0.dll $(BUILDROOT)/julia-$(JULIA_COMMIT)/bin && \ + cp 7z.exe 7z.dll libexpat-1.dll zlib1.dll $(BUILDROOT)/julia-$(JULIA_COMMIT)/bin && \ mkdir $(BUILDROOT)/julia-$(JULIA_COMMIT)/Git && \ 7z x PortableGit.7z -o"$(BUILDROOT)/julia-$(JULIA_COMMIT)/Git" && \ echo "[core] eol = lf" >> "$(GITCONFIG)" && \ diff --git a/contrib/windows/msys_build.sh b/contrib/windows/msys_build.sh index 854b3312850d6..b4ba7e879613d 100755 --- a/contrib/windows/msys_build.sh +++ b/contrib/windows/msys_build.sh @@ -106,6 +106,11 @@ mkdir -p usr/Git/tmp # Remove libjulia.dll if it was copied from downloaded binary rm -f usr/bin/libjulia.dll rm -f usr/bin/libjulia-debug.dll +rm -f usr/bin/libgcc_s_s*-1.dll +rm -f usr/bin/libgfortran-3.dll +rm -f usr/bin/libquadmath-0.dll +rm -f usr/bin/libssp-0.dll +rm -f usr/bin/libstdc++-6.dll if [ -z "$USEMSVC" ]; then if [ -z "`which ${CROSS_COMPILE}gcc 2>/dev/null`" -o -n "$APPVEYOR" ]; then