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:
authorJean-Luc Peurière <jlp@nerim.net>2008-04-27 22:22:07 +0400
committerJean-Luc Peurière <jlp@nerim.net>2008-04-27 22:22:07 +0400
commit0b7900d081c1ac2f884956f151dd07726502cd6a (patch)
tree838c95b675e593faa89c1d1316950f0798032945
parent7e7118aebb86bce534cb751c97f169223748b034 (diff)
this commit allow to pass custom compile flags
to all ffmpeg related libs ffmpeg use it own build system and dont respect the flags in config.py define BF_FFMPEG_EXTRA in config.py to pass those flags. I use this on Os X to pass the SDK vars : -isysroot -mmacosx-version-min
-rwxr-xr-xtools/btools.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/btools.py b/tools/btools.py
index d42e4994fb5..fef77200004 100755
--- a/tools/btools.py
+++ b/tools/btools.py
@@ -31,7 +31,7 @@ def validate_arguments(args, bc):
'WITH_BF_FMOD',
'WITH_BF_OPENEXR', 'BF_OPENEXR', 'BF_OPENEXR_INC', 'BF_OPENEXR_LIB', 'BF_OPENEXR_LIBPATH',
'WITH_BF_DDS',
- 'WITH_BF_FFMPEG', 'BF_FFMPEG_LIB', 'BF_FFMPEG', 'BF_FFMPEG_INC',
+ 'WITH_BF_FFMPEG', 'BF_FFMPEG_LIB','BF_FFMPEG_EXTRA', 'BF_FFMPEG', 'BF_FFMPEG_INC',
'WITH_BF_JPEG', 'BF_JPEG', 'BF_JPEG_INC', 'BF_JPEG_LIB', 'BF_JPEG_LIBPATH',
'WITH_BF_PNG', 'BF_PNG', 'BF_PNG_INC', 'BF_PNG_LIB', 'BF_PNG_LIBPATH',
'BF_TIFF', 'BF_TIFF_INC',
@@ -174,6 +174,7 @@ def read_opts(cfg, args):
(BoolOption('WITH_BF_FFMPEG', 'Use FFMPEG if true', 'false')),
('BF_FFMPEG', 'FFMPEG base path', ''),
('BF_FFMPEG_LIB', 'FFMPEG library', ''),
+ ('BF_FFMPEG_EXTRA', 'FFMPEG flags that must be preserved', ''),
('BF_FFMPEG_INC', 'FFMPEG includes', ''),
('BF_FFMPEG_LIBPATH', 'FFMPEG library path', ''),