322322$(eval $(call std_dll,gcc_s_seh-1))
323323endif
324324$(eval $(call std_dll,ssp-0))
325+ $(eval $(call std_dll,winpthread-1))
325326endif
326327define stringreplace
327328 $(build_depsbindir ) /stringreplace $$(strings -t x - $1 | grep '$2' | awk '{print $$1;}' ) '$3' 255 "$(call cygpath_w,$1) "
@@ -457,7 +458,7 @@ endif
457458
458459ifeq ($(OS ) , WINNT)
459460 [ ! -d $(JULIAHOME)/dist-extras ] || ( cd $(JULIAHOME)/dist-extras && \
460- 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 )
461+ 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 libwinpthread-1.dll $(BUILDROOT)/julia-$(JULIA_COMMIT)/bin )
461462ifeq ($(USE_GPL_LIBS ) , 1)
462463 [ ! -d $(JULIAHOME)/dist-extras ] || ( cd $(JULIAHOME)/dist-extras && \
463464 cp busybox.exe $(BUILDROOT)/julia-$(JULIA_COMMIT)/bin )
@@ -581,31 +582,17 @@ ifneq (,$(filter $(ARCH), i386 i486 i586 i686))
581582 cd $(JULIAHOME)/dist-extras && \
582583 $(JLDOWNLOAD) http://downloads.sourceforge.net/sevenzip/7z920.exe && \
583584 7z x -y 7z920.exe 7z.exe 7z.dll && \
584- ../contrib/windows/winrpm.sh http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.2 \
585- "mingw32-libexpat1 mingw32-zlib1" && \
586- $(JLDOWNLOAD) https://julialang.s3.amazonaws.com/bin/winnt/extras/mingw32-libgfortran3-5.3.0-1.1.noarch.rpm && \
587- $(JLDOWNLOAD) https://julialang.s3.amazonaws.com/bin/winnt/extras/mingw32-libquadmath0-5.3.0-1.1.noarch.rpm && \
588- $(JLDOWNLOAD) https://julialang.s3.amazonaws.com/bin/winnt/extras/mingw32-libstdc++6-5.3.0-1.1.noarch.rpm && \
589- $(JLDOWNLOAD) https://julialang.s3.amazonaws.com/bin/winnt/extras/mingw32-libgcc_s_sjlj1-5.3.0-1.1.noarch.rpm && \
590- $(JLDOWNLOAD) https://julialang.s3.amazonaws.com/bin/winnt/extras/mingw32-libssp0-5.3.0-1.1.noarch.rpm && \
591- for i in *.rpm; do 7z x -y $$i; done && \
592- for i in *.cpio; do 7z x -y $$i; done && \
585+ ../contrib/windows/winrpm.sh http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_42.2 \
586+ "mingw32-libgfortran3 mingw32-libquadmath0 mingw32-libstdc++6 mingw32-libgcc_s_sjlj1 mingw32-libssp0 mingw32-libwinpthread1 mingw32-libexpat1 mingw32-zlib1" && \
593587 cp usr/i686-w64-mingw32/sys-root/mingw/bin/*.dll .
594588else ifeq ($(ARCH),x86_64)
595589 cd $(JULIAHOME)/dist-extras && \
596590 $(JLDOWNLOAD) 7z920-x64.msi http://downloads.sourceforge.net/sevenzip/7z920-x64.msi && \
597591 7z x -y 7z920-x64.msi _7z.exe _7z.dll && \
598592 mv _7z.dll 7z.dll && \
599593 mv _7z.exe 7z.exe && \
600- ../contrib/windows/winrpm.sh http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.2 \
601- "mingw64-libexpat1 mingw64-zlib1" && \
602- $(JLDOWNLOAD) https://julialang.s3.amazonaws.com/bin/winnt/extras/mingw64-libgfortran3-5.3.0-1.1.noarch.rpm && \
603- $(JLDOWNLOAD) https://julialang.s3.amazonaws.com/bin/winnt/extras/mingw64-libquadmath0-5.3.0-1.1.noarch.rpm && \
604- $(JLDOWNLOAD) https://julialang.s3.amazonaws.com/bin/winnt/extras/mingw64-libstdc++6-5.3.0-1.1.noarch.rpm && \
605- $(JLDOWNLOAD) https://julialang.s3.amazonaws.com/bin/winnt/extras/mingw64-libgcc_s_seh1-5.3.0-1.1.noarch.rpm && \
606- $(JLDOWNLOAD) https://julialang.s3.amazonaws.com/bin/winnt/extras/mingw64-libssp0-5.3.0-1.1.noarch.rpm && \
607- for i in *.rpm; do 7z x -y $$i; done && \
608- for i in *.cpio; do 7z x -y $$i; done && \
594+ ../contrib/windows/winrpm.sh http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_42.2 \
595+ "mingw64-libgfortran3 mingw64-libquadmath0 mingw64-libstdc++6 mingw64-libgcc_s_seh1 mingw64-libssp0 mingw64-libwinpthread1 mingw64-libexpat1 mingw64-zlib1" && \
609596 cp usr/x86_64-w64-mingw32/sys-root/mingw/bin/*.dll .
610597else
611598 $(error no win-extras target for ARCH=$(ARCH))
@@ -619,7 +606,7 @@ endif
619606 chmod a+x ./nsis/makensis.exe
620607ifeq ($(USE_GPL_LIBS ) , 1)
621608 cd $(JULIAHOME)/dist-extras && \
622- $(JLDOWNLOAD) busybox.exe http://frippery.org/files/busybox/busybox-w32-FRP-483-g31277ab .exe && \
609+ $(JLDOWNLOAD) busybox.exe http://frippery.org/files/busybox/busybox-w32-FRP-875-gc6ec14a .exe && \
623610 chmod a+x busybox.exe
624611endif
625612
0 commit comments