diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-02-28 18:47:48 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-02-28 18:50:11 +0100 |
commit | 7820a13f6175e6da73c7ae937f075ea13ee83311 (patch) | |
tree | f017954c9fd37a28aa84dd944ce058d61f6a29e8 /setup_native | |
parent | be16dba682b8ab1c244f8d24f1bab3a539096962 (diff) |
MinGW: Build makecab.exe and friends only when WINEGCC is set.
Change-Id: I37ed3c2ef456c4a258101a9f1ea9568798a6ce80
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/Module_setup_native.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/setup_native/Module_setup_native.mk b/setup_native/Module_setup_native.mk index 45f814fe9f98..966dc60f2e02 100644 --- a/setup_native/Module_setup_native.mk +++ b/setup_native/Module_setup_native.mk @@ -25,7 +25,6 @@ $(eval $(call gb_Module_add_targets,setup_native,\ endif ifeq ($(OS),WNT) -ifeq ($(COM),MSC) $(eval $(call gb_Module_add_targets,setup_native,\ Library_instooofiltmsi \ Library_jfregca \ @@ -40,14 +39,18 @@ $(eval $(call gb_Module_add_targets,setup_native,\ StaticLibrary_quickstarter \ StaticLibrary_seterror \ )) + else + +ifneq ($(WINEGCC),) +# this is supposed to be built on the _build_ platform, even though the +# result is an .exe $(eval $(call gb_Module_add_targets,setup_native,\ CustomTarget_wintools \ Package_wintools \ )) endif -else $(eval $(call gb_Module_add_targets,setup_native,\ CustomTarget_scripts \ Package_scripts \ |