This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Add LIBDIR/gdb/python-<version> to Python search path
> I have a not-as-nice local patch to achieve a similar goal, so I'm in
> favor. But what do you see as the role of GDB_LIBDIR, other than
> this?
I admit that I don't see any other uses for now. I picked libdir
because that seemed to be the appropriate location after reading
the GNU Coding Standards section on the various directories. I should
also give credit to Tom for suggesting it first (on IRC).
> GDB isn't the only program in our distribution that needs an included
> Python, so we're not going to put it in lib/gdb. But it'd be nice to
> have other GDB-private data outside of top-level lib/.
That would argue in favor if adding an extra switch that allows you
to override the python libdir. I can take care of that as part of
this patch set, for sure, if this helps in your case.
--
Joel