Add BF_X264_CONFIG and BF_XVIDCORE_CONFIG flags to scons, to allow passing

configuration info for cross-compiling to ./configure scripts.  Also let
makesdna use PLATFORM_LINKFLAGS.
This commit is contained in:
Ken Hughes
2008-04-28 16:14:31 +00:00
parent c6554898cc
commit 2a3d159b06
2 changed files with 9 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ if sys.platform != 'cygwin':
makesdna_tool.Append (CCFLAGS = cflags)
makesdna_tool.Append (CPPDEFINES = defines)
makesdna_tool.Append (LIBPATH = '#'+root_build_dir+'/lib')
makesdna_tool.Append (LINKFLAGS = env['PLATFORM_LINKFLAGS'])
if env['BF_PROFILE']:
makesdna_tool.Append (LINKFLAGS = env['BF_PROFILE_FLAGS'])