Don't try to build bindist wrappers on Windows
authorIan Lynagh <ian@well-typed.com>
Wed, 15 May 2013 14:20:58 +0000 (15:20 +0100)
committerIan Lynagh <ian@well-typed.com>
Wed, 15 May 2013 14:20:58 +0000 (15:20 +0100)
rules/shell-wrapper.mk

index 4f6795d..b23e385 100644 (file)
@@ -89,6 +89,7 @@ install_$1_$2_wrapper:
 endif
 
 ifeq "$$($1_$2_WANT_BINDIST_WRAPPER)" "YES"
+ifneq "$$(TargetOS_CPP)" "mingw32"
 
 $1_$2_BINDIST_WRAPPER = $1/$2/build/tmp/$$($1_$2_PROGNAME)-bindist
 
@@ -106,6 +107,7 @@ endif
        $$(EXECUTABLE_FILE)                                                   $$@
 
 endif
+endif
 
 $(call profEnd, shell-wrapper($1,$2))
 endef