return true if the flag is valid, not the other way around
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4588 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
bc76613d85
commit
674cf5d3ba
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ def check_compile_flag(ctx, flag):
|
|||
}
|
||||
"""
|
||||
|
||||
result = not ctx.TryCompile(test, '.c')
|
||||
result = ctx.TryCompile(test, '.c')
|
||||
ctx.Result(result)
|
||||
|
||||
if not result:
|
||||
|
@ -48,7 +48,7 @@ def check_link_flag(ctx, flag):
|
|||
}
|
||||
"""
|
||||
|
||||
result = not ctx.TryLink(test, '.c')
|
||||
result = ctx.TryLink(test, '.c')
|
||||
ctx.Result(result)
|
||||
|
||||
if not result:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue