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:
Diffstat (limited to 'tools/Blender.py')
-rw-r--r--tools/Blender.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/Blender.py b/tools/Blender.py
index 10865e3fbc6..060d04a09bc 100644
--- a/tools/Blender.py
+++ b/tools/Blender.py
@@ -116,13 +116,15 @@ def setup_staticlibs(lenv):
lenv['BF_PNG_LIBPATH'],
lenv['BF_GETTEXT_LIBPATH'],
lenv['BF_ZLIB_LIBPATH'],
- lenv['BF_OPENAL_LIBPATH'],
lenv['BF_FREETYPE_LIBPATH'],
# lenv['BF_QUICKTIME_LIBPATH'],
lenv['BF_ICONV_LIBPATH']
]
libincs += Split(lenv['BF_OPENEXR_LIBPATH'])
+ if lenv['WITH_BF_OPENAL']:
+ lenv['BF_OPENAL_LIBPATH']
+
return statlibs, libincs
def setup_syslibs(lenv):
@@ -131,12 +133,11 @@ def setup_syslibs(lenv):
lenv['BF_JPEG_LIB'],
lenv['BF_PNG_LIB'],
lenv['BF_ZLIB_LIB'],
- lenv['BF_OPENAL_LIB'],
lenv['BF_FREETYPE_LIB'],
lenv['BF_GETTEXT_LIB']
-
- #here libs for linking
]
+ if lenv['WITH_BF_OPENAL']:
+ lenv['BF_OPENAL_LIB'],
if lenv['OURPLATFORM']=='win32vc':
syslibs += Split(lenv['BF_ICONV_LIB'])
syslibs += Split(lenv['BF_TIFF_LIB'])