Fix for hardcoded to scons rules python abi flags and wrong behavior
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 8 Feb 2012 17:17:19 +0000 (17:17 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 8 Feb 2012 17:17:19 +0000 (17:17 +0000)
commit33bca3075f2cc8201b13a6f08b22d7a1288aab4d
tree18a5ab262f5c822ff8913b951ea59ba196be5ec0
parentb6d12f11fedd9544429745c13381d36ed6d20e8c
Fix for hardcoded to scons rules python abi flags and wrong behavior
of python bundling on systems where python is installed to /usr/lib64

Now ABI flags are automatically detecting (by checking all available flags
and checking if there's include directory exists for flag).
Also, automatically set PYTHON_LIBPATH to /usr/lib64 if python
scripts are stored in this folder.
Bundling python on *nix platforms is now checks if python is installed
to lib64 directory and if it is, python will be bundled to lib64
folder instead of lib.

This will make building on openSUSE a bit less annoying
build_files/scons/config/Modules/FindPython.py [new file with mode: 0644]
build_files/scons/config/Modules/__init__.py [new file with mode: 0644]
build_files/scons/config/linux-config.py
build_files/scons/tools/Blender.py