summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2018-05-17 00:42:04 +0800
committerruki <[email protected]>2018-05-16 22:12:28 +0800
commit4e9bcf218d167b0efa875625f0b75f1e88c9f9b7 (patch)
tree825c15a075508157dbd81c5ded6f9e3679dd05bc /tests
parent9275981ad07841dad83f07235339efc06dd40af8 (diff)
improve wdk rules
Diffstat (limited to 'tests')
-rw-r--r--tests/projects/wdk/umdf/skeleton/xmake.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/projects/wdk/umdf/skeleton/xmake.lua b/tests/projects/wdk/umdf/skeleton/xmake.lua
index 6bfa00aca..f4ff33c46 100644
--- a/tests/projects/wdk/umdf/skeleton/xmake.lua
+++ b/tests/projects/wdk/umdf/skeleton/xmake.lua
@@ -25,5 +25,9 @@ target("skeleton")
add_shflags("/DEF:exports.def", {force = true})
-- set entry
- add_shflags("/ENTRY:_DllMainCRTStartup", {force = true})
+ if is_arch("x64") then
+ add_shflags("/ENTRY:_DllMainCRTStartup", {force = true})
+ else
+ add_shflags("/ENTRY:_DllMainCRTStartup@12", {force = true})
+ end