diff --git a/Makefile b/Makefile index d05d926da27cc..e6008b224c838 100644 --- a/Makefile +++ b/Makefile @@ -325,6 +325,9 @@ ifeq ($(JULIA_CPU_TARGET), native) endif ifeq ($(OS), WINNT) + # If we are running on WINNT, also delete sys.dll until it stops causing issues (#8895, among others) + -rm -f $(DESTDIR)$(private_libdir)/sys.$(SHLIB_EXT) + [ ! -d dist-extras ] || ( cd dist-extras && \ cp 7z.exe 7z.dll libexpat-1.dll zlib1.dll $(bindir) && \ mkdir $(DESTDIR)$(prefix)/Git && \