[Patches] [PATCH] Use lib/lib64 based on the libdir configure variable

Luis Machado luisgpm at linux.vnet.ibm.com
Thu Dec 2 01:38:59 CET 2010


Hi,

Python's build system (at least for 2.6.6) is not 32/64-bit aware in the
sense that it always uses "lib" as the default lib/modules/config path.

This patch handles this "problem" through the libdir configure variable.

For example:

--libdir=\${prefix}/lib64
--libdir=\${prefix}/lib

This also changes the builtin paths that Python uses to look for
lib/modules depending on what's set in the build.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: py_libpath_fix.diff
Type: text/x-patch
Size: 10271 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/patches/attachments/20101201/0dca0b85/attachment.bin>


More information about the Patches mailing list