bpo-1294959 - better support for systems with /usr/lib64 by matejcik · Pull Request #3698 · python/cpython (original) (raw)
This introduces a new configure and sysconfig variable platsubdir
, which is the name of subdirectory of prefix
that holds platform-specific libraries. On many Linux distributions, there is separation between /usr/lib
and /usr/lib64
, as opposed to prefix
vs exec_prefix
, which is what Python is accustomed to.
This should improve the situation, and platsubdir
will be used to differentiate library subdirectories below prefix
.
Based on last comments in the bug report http://bugs.python.org/issue1294959 , I have renamed "platlibdir" to "platsubdir" -- IMHO it's more important to note that this is _plat_form-specific than that it is a _lib_rary directory. (otherwise we'd end up with platlibsubdir
and that's horrible ;) )