Matthias Klose <d...@debian.org> added the comment: new version of the patch using os instead of platform, and selecting the correct library for biarch platforms, tested on ia64, sparc, s390, amd64, ppc64. unsure if there's a better way to find out if the executable is 32 or 64bit.
Added file: http://bugs.python.org/file12651/ctypes-findlib.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4861> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com