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:
kichik 2006-03-14 18:03:43 +00:00
parent bc76613d85
commit 674cf5d3ba

View file

@ -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: