[Bf-committers] SConstruct changes

Michael Velikanje bf-committers@blender.org
Wed, 17 Mar 2004 21:27:16 -0900


I had blender building using scons, up until revision 1.29 of 
SConstruct in the blender root dir and revision 1.7 of SConscript in 
the makesdna intern dir. Starting with revision 1.30 of SConstruct and 
revision 1.8 of SConscript I started getting this error during linking:

  -lpng -ljpeg -lz -lstdc++ -lGL -lGLU
gcc-3.3:  -framework Carbon: No such file or directory
gcc-3.3:  -framework AGL: No such file or directory
gcc-3.3:  -framework QuickTime: No such file or directory
scons: *** [blender] Error 1
scons: building terminated because of errors.

This looks like it should work:

if sys.platform == 'darwin':
     link_env.Append (LINKFLAGS=' -framework Carbon')
     link_env.Append (LINKFLAGS=' -framework AGL')
     if user_options_dict['USE_QUICKTIME'] == 1:
         link_env.Append (LINKFLAGS=' -framework QuickTime')

But..................................it doesn't.

Michael Velikanje