diff options
author | Ian Lynagh <igloo@earth.li> | 2012-05-06 19:39:41 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-05-06 19:39:41 +0100 |
commit | 9949db0a135da28d3d5497b0d31a6a50dad4a8c6 (patch) | |
tree | 7b5cf9d40548a3c9de9be2e5fcb61898313d280e /mk/config.mk.in | |
parent | f09812ded085223d3f9dcb50c2c9cdc912984844 (diff) | |
download | haskell-9949db0a135da28d3d5497b0d31a6a50dad4a8c6.tar.gz |
Fix the way we call strip on DLLs
On Win64, "install -s" calls a strip that doesn't understand 64bit
binaries. For some reason, this means the DLLs end up non-executable,
which means executables that use them just segfault.
Diffstat (limited to 'mk/config.mk.in')
-rw-r--r-- | mk/config.mk.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in index fe0feb0121..b998946239 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -768,7 +768,11 @@ endif # REAL_SHELL = $(SHELL) +ifeq "$(TARGETPLATFORM)" "x86_64-unknown-mingw32" +STRIP_CMD = $(TOP)/inplace/mingw/bin/x86_64-w64-mingw32-strip.exe +else STRIP_CMD = strip +endif PATCH_CMD = @PatchCmd@ TAR_CMD = @TarCmd@ BZIP2_CMD = bzip2 |