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
path: root/tools
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2005-05-06 17:37:18 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2005-05-06 17:37:18 +0400
commitbcd5d1c9ed084dec77b9801938016791bd4aa38d (patch)
tree8aeb942465e2162843ecad078e5ac64a8e4030c8 /tools
parentc68c3c253f9fd0c5baed69248a15c13e0ec9aad0 (diff)
* integrate bFTGL with Scons
* add some ENV = os.environ's here and there (help those who have msvc toolkit installed) Note for OSX users: check from your config.opts the correct info for the precompiled ftgl lib is used.
Diffstat (limited to 'tools')
-rw-r--r--tools/scons/bs/bs_libs.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/scons/bs/bs_libs.py b/tools/scons/bs/bs_libs.py
index 3783b926dfb..aa6b3996723 100644
--- a/tools/scons/bs/bs_libs.py
+++ b/tools/scons/bs/bs_libs.py
@@ -41,8 +41,11 @@ def international_libs(env):
env.Append (LIBS=bs_globals.user_options_dict['FREETYPE_LIBRARY'])
env.Append (LIBPATH=bs_globals.user_options_dict['FREETYPE_LIBPATH'])
env.Append (LIBS=['blender_FTF'])
- env.Append (LIBS=bs_globals.user_options_dict['FTGL_LIBRARY'])
- env.Append (LIBPATH=bs_globals.user_options_dict['FTGL_LIBPATH'])
+ if sys.platform=='darwin':
+ env.Append (LIBS=bs_globals.user_options_dict['FTGL_LIBRARY'])
+ env.Append (LIBPATH=bs_globals.user_options_dict['FTGL_LIBPATH'])
+ else:
+ env.Append (LIBS=['extern_ftgl'])
env.Append (LIBS=bs_globals.user_options_dict['FREETYPE_LIBRARY'])
def blender_libs(env):