summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/rules/platform/windows/manifest/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/platform/windows/manifest/xmake.lua b/xmake/rules/platform/windows/manifest/xmake.lua
index b476faeed..fbcfe36d4 100644
--- a/xmake/rules/platform/windows/manifest/xmake.lua
+++ b/xmake/rules/platform/windows/manifest/xmake.lua
@@ -28,13 +28,13 @@ rule("platform.windows.manifest")
for _, sourcebatch in pairs(target:sourcebatches()) do
if sourcebatch.rulename == "platform.windows.manifest" then
for _, sourcefile in ipairs(sourcebatch.sourcefiles) do
- target:add("ldflags", "/ManifestFile:" .. path.translate(sourcefile), {force = true})
+ target:add("ldflags", "/ManifestInput:" .. path.translate(sourcefile), {force = true})
manifest = true
end
end
end
if manifest then
- target:add("ldflags", "/manifest", {force = true})
+ target:add("ldflags", "/manifest:embed", {force = true})
end
end
end)