[issue7352] python2.6-config --ldflags out of /usr and missing -Linstall_lib_dir

2010-08-16 Thread Joel Brobecker
Joel Brobecker brobec...@gnat.com added the comment: More update on this patch: It's incomplete, and possibly wrong, unfortunately. The issue that someone else noticed is that it does not handle the case when Python was configured with --libdir=...; and I think that the default lib dir

[issue7352] python2.6-config --ldflags out of /usr and missing -Linstall_lib_dir

2010-08-07 Thread Joel Brobecker
Joel Brobecker brobec...@gnat.com added the comment: I agree that more testing in head would be useful before possibly considering inclusion in one of the bug-fix releases. Given that this only affects binaries installed at a different location than the configure prefix, this seems hardly

[issue7352] python2.6-config --ldflags out of /usr and missing -Linstall_lib_dir

2010-07-08 Thread Joel Brobecker
Joel Brobecker brobec...@gnat.com added the comment: GDB can suffer from the same sort of problem. In my case, I picked up a Python binary tarball built on a different machine (without --enable-shared), and the path in -Lpath returned by python-config --ldflags refered to the prefix used