From 674cf5d3bac94da1022a4432a4601a1da3e71641 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 14 Mar 2006 18:03:43 +0000 Subject: [PATCH] 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 --- SCons/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SCons/utils.py b/SCons/utils.py index 302f9594..fe129468 100644 --- a/SCons/utils.py +++ b/SCons/utils.py @@ -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: