summaryrefslogtreecommitdiff
path: root/src/VBox/Installer/win/Stub/Makefile.kmk
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2022-01-18 15:23:38 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2022-01-18 15:23:38 +0000
commit09a9039b64343a35f70673ae3d29aaebde710849 (patch)
treea0e80f1a121b1462851328a7dde9fde481bc7199 /src/VBox/Installer/win/Stub/Makefile.kmk
parent21c036a03ab45ce0f9c7d6afdb03c3b69cd8637e (diff)
downloadVirtualBox-svn-09a9039b64343a35f70673ae3d29aaebde710849.tar.gz
/Config.kmk,*.kmk: Windows ASAN build adjustments. bugref:8489 bugref:9841
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@93322 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Installer/win/Stub/Makefile.kmk')
-rw-r--r--src/VBox/Installer/win/Stub/Makefile.kmk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/VBox/Installer/win/Stub/Makefile.kmk b/src/VBox/Installer/win/Stub/Makefile.kmk
index 8ffad404b20..97be783a5d3 100644
--- a/src/VBox/Installer/win/Stub/Makefile.kmk
+++ b/src/VBox/Installer/win/Stub/Makefile.kmk
@@ -49,6 +49,9 @@ endif
VBoxStub_LDFLAGS = \
-DelayLoad:comctl32.dll
VBoxStub_POST_CMDS = $(VBOX_CHECK_IMPORTS) --image $(out) ntdll.dll kernel32.dll
+ifeq ($(KBUILD_TYPE),asan)
+ VBoxStub_POST_CMDS += advapi32.dll
+endif
VBoxStub_LNK_DEPS = $(VBOX_CHECK_IMPORTS)
VBoxStub.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)