[systemd-bugs] [Bug 57800] Please prefer pkg-config over python-config
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 14 01:18:20 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=57800
--- Comment #2 from Michał Górny <mgorny at gentoo.org> ---
(In reply to comment #1)
> That would simplify a lot of things for us. But it seems to be only
> available from 2.7, but we support 2.6 now. I guess we could drop support
> for 2.6.
Well, as the summary states, I was suggesting using it and default and having a
fallback to python-config. But either way's fine, I think.
> One advantage of python-config is that it is easy to go from python-config
> to python by simple string substitution. Let's say that I detect flags and
> libs for some python. How do I know which binary to call?
I'd say it's just another substitution. Since you would call:
$ pkg-config --libs python-${PYTHON_VERSION}
You could just go for:
python${PYTHON_VERSION}
However, I'm not sure where you would need that.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130314/fb2b8c44/attachment.html>
More information about the systemd-bugs
mailing list