summaryrefslogtreecommitdiff
path: root/setup_native/source/win32/customactions/regpatchactivex/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'setup_native/source/win32/customactions/regpatchactivex/makefile.mk')
-rw-r--r--setup_native/source/win32/customactions/regpatchactivex/makefile.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/setup_native/source/win32/customactions/regpatchactivex/makefile.mk b/setup_native/source/win32/customactions/regpatchactivex/makefile.mk
index 4c6668db2..9641c8ba0 100644
--- a/setup_native/source/win32/customactions/regpatchactivex/makefile.mk
+++ b/setup_native/source/win32/customactions/regpatchactivex/makefile.mk
@@ -30,14 +30,14 @@ PRJNAME=setup_native
TARGET=regpatchactivex
USE_DEFFILE=TRUE
-.IF "$(GUI)"=="WNT"
-
# --- Settings -----------------------------------------------------
ENABLE_EXCEPTIONS=TRUE
.INCLUDE : settings.mk
+.IF "$(GUI)"=="WNT" && "$(WINDOWS_SDK_HOME)"!=""
+
STDSHL=
# --- Files --------------------------------------------------------
@@ -78,12 +78,10 @@ SHL1BASE = 0x1c000000
DEF1NAME=$(SHL1TARGET)
DEF1EXPORTFILE=exports.dxp
+.ENDIF
+
# --- Targets --------------------------------------------------------------
.INCLUDE : target.mk
# -------------------------------------------------------------------------
-
-
-.ENDIF
-