[Bf-committers] SConstruct changes
Douglas Bischoff
bf-committers@blender.org
Thu, 18 Mar 2004 05:57:48 -0500
On Mar 18, 2004, at 01:27, Michael Velikanje wrote:
> 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.
See my earlier post. Something changed in how SCons works or how Python
handles the .append function. It does not like spaces in arguments.
change these to:
> link_env.Append (LINKFLAGS='-framework')
> link_env.Append (LINKFLAGS='Carbon')
(in each instance splitting the append into two separate entries) and
it will work.
-Bish