30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
$OpenBSD: patch-source_blender_makesdna_intern_SConscript,v 1.1 2006/07/26 06:45:27 steven Exp $
|
|
--- source/blender/makesdna/intern/SConscript.orig Mon Mar 13 12:42:49 2006
|
|
+++ source/blender/makesdna/intern/SConscript Sat Jul 22 17:03:36 2006
|
|
@@ -11,7 +11,7 @@ source_files = ['makesdna.c', '#intern/g
|
|
|
|
makesdna_tool = env.Copy()
|
|
dna = env.Copy()
|
|
-makesdna_tool.Append(CCFLAGS = '-DBASE_HEADER="\\"source/blender/makesdna/\\"" ')
|
|
+makesdna_tool.Append(CCFLAGS = ' -DBASE_HEADER="\\"source/blender/makesdna/\\"" ')
|
|
|
|
makesdna_tool.Append (CPPPATH = ['#/intern/guardedalloc',
|
|
'../../makesdna'])
|
|
@@ -24,13 +24,13 @@ if env['OURPLATFORM'] == 'linuxcross':
|
|
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 (LIBPATH = root_build_dir+'/lib')
|
|
|
|
-makesdna_tool.Program (target = '#'+root_build_dir+os.sep+'makesdna', source = source_files)
|
|
+makesdna_tool.Program (target = root_build_dir+os.sep+'makesdna', source = source_files)
|
|
|
|
dna_dict = dna.Dictionary()
|
|
makesdna_name = root_build_dir+'/makesdna' + dna_dict['PROGSUFFIX']
|
|
-dna.Depends ('dna.c', '#'+makesdna_name)
|
|
+dna.Depends ('dna.c', makesdna_name)
|
|
if env['OURPLATFORM'] != 'linuxcross':
|
|
dna.Command ('dna.c', '', root_build_dir+os.sep+"makesdna $TARGET")
|
|
else:
|