28 lines
1.4 KiB
Plaintext
28 lines
1.4 KiB
Plaintext
$OpenBSD: patch-source_blender_makesdna_intern_SConscript,v 1.2 2007/05/25 12:19:14 steven Exp $
|
|
--- source/blender/makesdna/intern/SConscript.orig Tue Mar 27 17:43:59 2007
|
|
+++ source/blender/makesdna/intern/SConscript Sun May 20 15:01:31 2007
|
|
@@ -11,7 +11,7 @@ source_files = ['makesdna.c']
|
|
|
|
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,12 +24,12 @@ 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')
|
|
|
|
if env['OURPLATFORM'] == 'linux2' and root_build_dir[0]==os.sep:
|
|
makesdna = makesdna_tool.Program (target = root_build_dir+'/makesdna', source = source_files, LIBS=['bf_guardedalloc'])
|
|
else:
|
|
- makesdna = makesdna_tool.Program (target = '#'+root_build_dir+'/makesdna', source = source_files, LIBS=['bf_guardedalloc'])
|
|
+ makesdna = makesdna_tool.Program (target = root_build_dir+'/makesdna', source = source_files, LIBS=['bf_guardedalloc'])
|
|
|
|
dna_dict = dna.Dictionary()
|
|
dna.Depends ('dna.c', makesdna)
|