summaryrefslogtreecommitdiff
path: root/setup_native/source/win32/customactions/rebase/makefile.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-21 14:58:37 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-22 09:06:20 +0300
commit0dff25f128a49e5502c8c665f3356364903558ad (patch)
treefb71b1a6e12c3ee773c8d12aff444a24ca8efb58 /setup_native/source/win32/customactions/rebase/makefile.mk
parentabfe27cf6b15cec394471b41a742ffb49e46bf1d (diff)
Bypass these if we don't have the Windows SDK
I.e. mainly when cross-compiling with MinGW. We can't build an MSI installer when cross-compiling anyway, so that we can't build the installer custom actions is fairly irrelevant.
Diffstat (limited to 'setup_native/source/win32/customactions/rebase/makefile.mk')
-rw-r--r--setup_native/source/win32/customactions/rebase/makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/source/win32/customactions/rebase/makefile.mk b/setup_native/source/win32/customactions/rebase/makefile.mk
index cb9e29db1e60..fb1fc22a8555 100644
--- a/setup_native/source/win32/customactions/rebase/makefile.mk
+++ b/setup_native/source/win32/customactions/rebase/makefile.mk
@@ -44,7 +44,7 @@ UWINAPILIB=
# --- Files --------------------------------------------------------
-.IF "$(GUI)"=="WNT"
+.IF "$(GUI)"=="WNT" && "$(WINDOWS_SDK_HOME)"!=""
STDSHL += \
$(ADVAPI32LIB)\