This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] python-config.py --ldflags should return relocated path to libpython
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 05 Aug 2010 12:25:21 -0600
- Subject: Re: [RFC] python-config.py --ldflags should return relocated path to libpython
- References: <1278627885-9416-1-git-send-email-brobecker@adacore.com> <20100728172339.GL13267@adacore.com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> There are currently 2 issues, I think, with python-config --ldflags:
Joel> 1. When python is configured with --enable-shared:
Joel> -L<prefix>/lib is missing. This is a problem if python was
Joel> installed in a non-standard location.
[...]
Joel> No comment either on the Python side or on the gdb-patches side.
Joel> I think it's too late for 7.2, but I would like to apply this patch
Joel> on the HEAD. Any objections? If we ever create a 7.2.1, and this patch
Joel> was shown to not cause any problem, then perhaps I'll consider it for
Joel> backporting on the 7.2 branch - if approved by the GMs.
It sounds reasonable to me.
I don't know enough about all the Python configuration and install
options to fully understand the patch, but it also seemed ok.
Tom