diff options
Diffstat (limited to 'tools/scons/bs')
-rw-r--r-- | tools/scons/bs/bs_libs.py | 7 |
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): |