39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
$OpenBSD: patch-tools_Blender_py,v 1.3 2009/10/25 22:41:25 steven Exp $
|
|
--- tools/Blender.py.orig Tue Sep 1 17:21:54 2009
|
|
+++ tools/Blender.py Wed Oct 14 23:43:51 2009
|
|
@@ -116,6 +116,7 @@ def setup_staticlibs(lenv):
|
|
'/usr/lib',
|
|
lenv['BF_OPENGL_LIBPATH'],
|
|
lenv['BF_JPEG_LIBPATH'],
|
|
+ lenv['BF_GLEW_LIBPATH'],
|
|
lenv['BF_PNG_LIBPATH'],
|
|
lenv['BF_ZLIB_LIBPATH'],
|
|
lenv['BF_ICONV_LIBPATH']
|
|
@@ -156,7 +157,8 @@ def setup_syslibs(lenv):
|
|
|
|
lenv['BF_JPEG_LIB'],
|
|
lenv['BF_PNG_LIB'],
|
|
- lenv['BF_ZLIB_LIB']
|
|
+ lenv['BF_ZLIB_LIB'],
|
|
+ lenv['BF_GLEW_LIB']
|
|
]
|
|
|
|
if lenv['WITH_BF_PYTHON'] and not lenv['WITH_BF_STATICPYTHON']:
|
|
@@ -398,7 +400,7 @@ class BlenderEnvironment(SConsEnvironment):
|
|
|
|
print bc.HEADER+'Configuring resource '+bc.ENDC+bc.OKGREEN+libname+bc.ENDC
|
|
lenv = self.Clone()
|
|
- res = lenv.RES('#'+root_build_dir+'lib/'+libname, source)
|
|
+ res = lenv.RES(root_build_dir+'lib/'+libname, source)
|
|
|
|
SConsEnvironment.Default(self, res)
|
|
resources.append(res)
|
|
@@ -421,6 +423,7 @@ class BlenderEnvironment(SConsEnvironment):
|
|
else:
|
|
print bc.HEADER+'Configuring library '+bc.ENDC+bc.OKGREEN+libname + bc.ENDC
|
|
lenv = self.Clone()
|
|
+ lenv['CCFLAGS'] = Split(lenv['CCFLAGS'])
|
|
lenv.Append(CPPPATH=includes)
|
|
lenv.Append(CPPDEFINES=defines)
|
|
if lenv['BF_DEBUG'] or (libname in quickdebug):
|