diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-03-13 12:29:47 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-03-13 12:29:47 +0300 |
commit | cf8cc39d4cf5a5e85070f4e3c99c383159d60940 (patch) | |
tree | 8ddbe560f3b3f5155ba656cb6624c80127f06953 /build_files/scons/config/freebsd8-config.py | |
parent | 0c734577f40415b36e85598bee56f7079b8a3fef (diff) |
Make BF_PYTHON_ABI_FLAGS a scons option. Default flags are empty.
Made changed to linux2-config and freebsd*-config. Windows/MacOS are kept
unchanged.
I'm not sure which flags should be used for freebsd systems, so flags for
them also kept empty. Maintainers of this platform, please check which
flags should be used and make changes to rules.
Diffstat (limited to 'build_files/scons/config/freebsd8-config.py')
-rw-r--r-- | build_files/scons/config/freebsd8-config.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build_files/scons/config/freebsd8-config.py b/build_files/scons/config/freebsd8-config.py index b15d3ea54d9..dd7ab5f9ab9 100644 --- a/build_files/scons/config/freebsd8-config.py +++ b/build_files/scons/config/freebsd8-config.py @@ -4,14 +4,15 @@ CXX = 'g++44' LCGDIR = '../lib/freebsd8' LIBDIR = "${LCGDIR}" +BF_PYTHON_ABI_FLAGS = '' BF_PYTHON = '/usr/local' BF_PYTHON_LIBPATH = '${BF_PYTHON}/lib' BF_PYTHON_VERSION = '3.2' WITH_BF_STATICPYTHON = False -BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}' +BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}${BF_PYTHON_ABI_FLAGS}' BF_PYTHON_BINARY = '${BF_PYTHON}/bin/python${BF_PYTHON_VERSION}' -BF_PYTHON_LIB = 'python${BF_PYTHON_VERSION}' -BF_PYTHON_LIB_STATIC = '${BF_PYTHON}/lib/libpython${BF_PYTHON_VERSION}.a' +BF_PYTHON_LIB = 'python${BF_PYTHON_VERSION}${BF_PYTHON_ABI_FLAGS}' +BF_PYTHON_LIB_STATIC = '${BF_PYTHON}/lib/libpython${BF_PYTHON_VERSION}${BF_PYTHON_ABI_FLAGS}.a' WITH_BF_OPENAL = True WITH_BF_STATICOPENAL = False |