[issue22140] "python-config --includes" returns a wrong path (double prefix)

Alexey Gorshkov report at bugs.python.org
Sun Aug 23 11:41:05 CEST 2015


Alexey Gorshkov added the comment:

I don't understand: Why python-config needs to seek "realpath"? Why python-config is trying to be smarter than one who starts ./configure script?

As so, the right thing to this, is remove "smart" parts from python-config. But as for fast hack in to this is replace line 'prefix_real=$(installed_prefix "$0")' with 'prefix_real=$prefix_build'.

----------
nosy: +animus

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22140>
_______________________________________


More information about the Python-bugs-list mailing list