From a1689a5e9a86e1078e6665a38c26ef45c4a90048 Mon Sep 17 00:00:00 2001 From: Ken Hughes Date: Thu, 17 Apr 2008 19:01:00 +0000 Subject: Change scons so OpenMP library is appended at end of linkage line with other libraries (fixes a problem with statically linking OpenMP). --- tools/Blender.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/Blender.py') diff --git a/tools/Blender.py b/tools/Blender.py index 967bf1fcd3c..30e9979cf9a 100644 --- a/tools/Blender.py +++ b/tools/Blender.py @@ -152,6 +152,8 @@ def setup_syslibs(lenv): syslibs += Split(lenv['BF_GETTEXT_LIB']) if lenv['WITH_BF_OPENAL']: syslibs += Split(lenv['BF_OPENAL_LIB']) + if lenv['WITH_BF_OPENMP'] and lenv['CC'] != 'icc': + syslibs += ['gomp'] if lenv['WITH_BF_ICONV']: syslibs += Split(lenv['BF_ICONV_LIB']) if lenv['WITH_BF_OPENEXR']: -- cgit v1.2.3