diff --git a/Makefile b/Makefile index e2398c1efd113..c845d05ed4cf5 100644 --- a/Makefile +++ b/Makefile @@ -350,6 +350,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 && \