==SCons==
authorNathan Letwory <nathan@letworyinteractive.com>
Sun, 5 Feb 2006 18:03:02 +0000 (18:03 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Sun, 5 Feb 2006 18:03:02 +0000 (18:03 +0000)
* make sure PLATFORM_LINKFLAGS are used on Cygwin, too

tools/Blender.py

index 4a631f847981610b1ca60498b7aba8eb570b382a..27365f4aab45eca69e42afb651ee77808c266b02 100644 (file)
@@ -338,7 +338,7 @@ class BlenderEnvironment(SConsEnvironment):
     def BlenderProg(self=None, builddir=None, progname=None, sources=None, includes=None, libs=None, libpath=None, binarykind=''):
         print bc.HEADER+'Configuring program '+bc.ENDC+bc.OKGREEN+progname+bc.ENDC
         lenv = self.Copy()
-        if lenv['OURPLATFORM']=='win32-vc':
+        if lenv['OURPLATFORM'] in ['win32-vc', 'cygwin']:
             lenv.Append(LINKFLAGS = Split(lenv['PLATFORM_LINKFLAGS']))
         if  lenv['OURPLATFORM']=='darwin':
             lenv.Append(LINKFLAGS = lenv['PLATFORM_LINKFLAGS'])