Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Selten <michel@mselten.demon.nl>2004-01-06 00:30:26 +0300
committerMichel Selten <michel@mselten.demon.nl>2004-01-06 00:30:26 +0300
commit906c75396aa7cc4609b72b9706204c22b229b1fc (patch)
tree9af59da6f1e03f3cdea8cba608a932f8b970edd1 /SConstruct
parentcea53c647339775cd213d1e4db319dcdcaa82e77 (diff)
SCons updates:
* Removed debug print in ftfont. * Added FreeType/FTGL support to the Linux build. NOTE: This feature is on by default, but depends on the pre-build libraries. So checkout the lib directory. The lib dir should be on the same level as the blender dir. (In case you didn't know).
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct10
1 files changed, 9 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index b8c03748045..904f4b34cee 100644
--- a/SConstruct
+++ b/SConstruct
@@ -10,7 +10,7 @@ sdl_lenv = Environment ()
link_env = Environment ()
if sys.platform == 'linux2':
- use_international = 'false'
+ use_international = 'true'
use_gameengine = 'false'
use_openal = 'false'
use_fmod = 'false'
@@ -39,6 +39,14 @@ if sys.platform == 'linux2':
python_include = sysconfig.get_python_inc ()
python_libpath = sysconfig.get_python_lib (0, 1) + '/config'
python_lib = 'python%d.%d' % sys.version_info[0:2]
+ # International stuff
+ if (use_international == 'true'):
+ defines += ['INTERNATIONAL', 'FTGL_STATIC_LIBRARY', 'WITH_FREETYPE2']
+ platform_libpath += ['#../lib/linux-glibc2.2.5-i386/ftgl',
+ '#../lib/linux-glibc2.2.5-i386/freetype/lib']
+ platform_libs += ['ftgl', 'freetype']
+ extra_includes += ['#../lib/linux-glibc2.2.5-i386/ftgl/include',
+ '#../lib/linux-glibc2.2.5-i386/freetype/include']
elif sys.platform == 'darwin':
use_international = 'false'