Fix up unsafe flag test from previous commit
This commit is contained in:
parent
394427a3db
commit
2dfa47c0eb
@ -220,10 +220,6 @@
|
||||
-- the .NET Framework. VS sets this flag by default for C# projects.
|
||||
table.insert(flags, '/noconfig')
|
||||
|
||||
if cfg.flags.Unsafe then
|
||||
table.insert(flags, '/unsafe')
|
||||
end
|
||||
|
||||
if cfg.project.icon then
|
||||
local fn = project.getrelative(cfg.project, cfg.project.icon)
|
||||
table.insert(flags, string.format('/win32icon:"%s"', fn))
|
||||
|
@ -37,6 +37,7 @@
|
||||
]]
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- If the Unsafe flag has been set, it should be specified.
|
||||
--
|
||||
@ -45,7 +46,7 @@
|
||||
flags { "Unsafe" }
|
||||
prepare()
|
||||
test.capture [[
|
||||
FLAGS = /noconfig /unsafe
|
||||
FLAGS = /unsafe /noconfig
|
||||
]]
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user