python: added configure args for distutils path detection
authorJan Čermák <redacted>
Mon, 16 Mar 2015 09:41:33 +0000 (10:41 +0100)
committerJan Čermák <redacted>
Mon, 16 Mar 2015 09:41:33 +0000 (10:41 +0100)
commita5d784de0b8c50d9dc0684879ed7a26687f5c060
treedbcf637d9a2e900a994625ef767d565d78e99c95
parentf3527d974eb52e80721f3e9b6e3fbe7590e6d88d
python: added configure args for distutils path detection

python-package.mk now defines (extends) CONFIGURE_ARGS that are
adjusting PREFIX and EXEC_PREFIX in distutils.sysconfig during
compilation. These variables are sometimes used by autotools to detect
path to Python header files. Adding these variables to python-package.mk
fixes compilation of legacy autotools-configured packages that already
include python-package.mk and do not overwrite CONFIGURE_ARGS.

Signed-off-by: Jan Čermák <redacted>
Cc: Alexandru Ardelean <redacted>
lang/python/files/python-package.mk
git clone https://git.99rst.org/PROJECT