scons: Fix inverted logic.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 26 Aug 2010 17:28:29 +0000 (18:28 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 26 Aug 2010 17:29:04 +0000 (18:29 +0100)
src/talloc/SConscript

index a4861a932e5ba95c725c1419e91debbe1a6142c2..3bf7029bb2561885501fdaa8c621922d436adf07 100644 (file)
@@ -12,7 +12,7 @@ talloc = env.SharedLibrary(
 
 env.InstallSharedLibrary(talloc)
 
-if env['platform'] != 'windows':
+if env['platform'] == 'windows':
     talloc = env.FindIxes(talloc, 'LIBPREFIX', 'LIBSUFFIX')
 else:
     talloc = env.FindIxes(talloc, 'SHLIBPREFIX', 'SHLIBSUFFIX')