Skip to content

Commit d5953d8

Browse files
committed
fixup! mingw: add a Makefile target to copy test artifacts
This makes the code a bit less fragile by being less dependent on multiple adjustments for any new `MSYSTEM` value. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent e2874e2 commit d5953d8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

config.mak.uname

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -757,12 +757,7 @@ ifeq ($(uname_S),MINGW)
757757
ETC_GITCONFIG = ../etc/gitconfig
758758
ETC_GITATTRIBUTES = ../etc/gitattributes
759759
endif
760-
ifeq (i686,$(uname_M))
761-
MINGW_PREFIX := mingw32
762-
endif
763-
ifeq (x86_64,$(uname_M))
764-
MINGW_PREFIX := mingw64
765-
endif
760+
MINGW_PREFIX := $(subst /,,$(prefix))
766761

767762
DESTDIR_WINDOWS = $(shell cygpath -aw '$(DESTDIR_SQ)')
768763
DESTDIR_MIXED = $(shell cygpath -am '$(DESTDIR_SQ)')

0 commit comments

Comments
 (0)