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:
authorNathan Letwory <nathan@letworyinteractive.com>2008-11-12 10:48:53 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-11-12 10:48:53 +0300
commit999f312d6250ce3fd76dd59465be4fc25d0a612f (patch)
tree1b17abe35c440972d07302a06977514215acfc9b /SConstruct
parentb8fb31e236bcbc281b060887fefb7af39f143b37 (diff)
Change the LCG_DIR usage to BF_name_LIBPATH where possible. FFMPEG can't be done like that yet, needs some extra thought to handle differences between vc and mingw setup
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct21
1 files changed, 9 insertions, 12 deletions
diff --git a/SConstruct b/SConstruct
index f27fc8cd7fb..59152cdc9f3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -516,24 +516,21 @@ else:
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw'):
dllsources = ['${LCGDIR}/gettext/lib/gnu_gettext.dll',
- '${LCGDIR}/png/lib/libpng.dll',
- '#release/windows/extra/zlib.pyd',
- '${LCGDIR}/zlib/lib/zlib.dll',
- '${LCGDIR}/tiff/lib/libtiff.dll']
+ '${BF_PNG_LIBPATH}/libpng.dll',
+ '${BF_ZLIB_LIBPATH}/zlib.dll',
+ '${BF_TIFF_LIBPATH}/${BF_TIFF_LIB}.dll']
+ dllsources += ['${BF_PTHREADS_LIBPATH}/${BF_PTHREADS_LIB}.dll']
if env['WITH_BF_SDL']:
- dllsources.append('${LCGDIR}/sdl/lib/SDL.dll')
+ dllsources.append('${BF_SDL_LIBPATH}/SDL.dll')
if env['WITH_BF_PYTHON']:
dllsources.append('#release/windows/extra/python25.zip')
+ dllsources.append('#release/windows/extra/zlib.pyd')
if env['BF_DEBUG']:
- dllsources.append('${LCGDIR}/python/lib/${BF_PYTHON_LIB}_d.dll')
+ dllsources.append('${BF_PYTHON_LIBPATH}/${BF_PYTHON_LIB}_d.dll')
else:
- dllsources.append('${LCGDIR}/python/lib/${BF_PYTHON_LIB}.dll')
- if env['OURPLATFORM'] == 'win32-mingw':
- dllsources += ['${LCGDIR}/pthreads/lib/pthreadGC2.dll']
- else:
- dllsources += ['${LCGDIR}/pthreads/lib/pthreadVC2.dll']
+ dllsources.append('${BF_PYTHON_LIBPATH}/${BF_PYTHON_LIB}.dll')
if env['WITH_BF_ICONV']:
- dllsources += ['${LCGDIR}/iconv/lib/iconv.dll']
+ dllsources += ['${BF_ICONV_LIBPATH}/iconv.dll']
if env['WITH_BF_FFMPEG']:
dllsources += ['${LCGDIR}/ffmpeg/lib/avcodec-51.dll',
'${LCGDIR}/ffmpeg/lib/avformat-52.dll',