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