GNOME Bugzilla – Bug 658856
Build system is broken for 64bit
Last modified: 2011-09-13 20:39:01 UTC
As discussed on IRC with J5, I seem to have broken the build system with the python.m4 improvements done some time ago, notably AM_CHECK_PYTHON_LIBS. Looking further into this, linking to libpython is not required on Linux systems, but it is on Windows. Yay. Here's a patch that: - only calls AM_CHECK_PYTHON_LIBS in configure.ac when building Windows binaries - properly sets LIBADD to contain PYTHON_LIBS on Windows only - provides clear comments that linking to libpython is a Windows only thing.
Created attachment 196306 [details] [review] Remove common_ldflags from Makefile.am as it is no longer used.
Created attachment 196307 [details] [review] AM_CHECK_PYTHON_LIBS does not work for lib64
Created attachment 196364 [details] [review] AM_CHECK_PYTHON_LIBS does not work for lib64 Corrected patch, tested with jhbuild on a Linux machine and with MinGW/MSYS on Windows.
Comment on attachment 196364 [details] [review] AM_CHECK_PYTHON_LIBS does not work for lib64 looks good.
Attachment 196306 [details] pushed as 863c087 - Remove common_ldflags from Makefile.am as it is no longer used. Attachment 196364 [details] pushed as fcd457d - AM_CHECK_PYTHON_LIBS does not work for lib64