[issue17679] sysconfig generation uses some env variables multiple times

Bohuslav "Slavek" Kabrda report at bugs.python.org
Wed Apr 10 10:59:07 CEST 2013


Bohuslav "Slavek" Kabrda added the comment:

I'm attaching a patch that I'm currently using to solve this. It works, but it's a bit aggressive - in the sense that it only adds a string to the sysconfig variable iff this string is not a substring of current variable value. So it may corrupt some values, e.g. it wouldn't add "python" to variable if that variable already had "/usr/lib/python". But it seems to get all the values just fine for me.

----------
keywords: +patch
Added file: http://bugs.python.org/file29763/00178-dont-duplicate-flags-in-sysconfig.patch

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


More information about the Python-bugs-list mailing list