[issue23858] Look for local sqlite3 by parsing -I/-L flags in linux as well.

2015-04-03 Thread Ned Deily
Ned Deily added the comment: My apologies, I replied a bit too hastily, thinking incorrectly that your suggested change was just for sqlite3. While the comments above still apply, there is already an open request for the more general feature (and more) under Issue21571. So I suggest further

[issue23858] Look for local sqlite3 by parsing -I/-L flags in linux as well.

2015-04-03 Thread Ned Deily
Ned Deily added the comment: This is essentially a duplicate of Issue3467 and various other similar issues. While it may not be easy to justify the special case in setup.py for OS X (the reason was primarily for OS X installer builds), it would be even harder to justify adding another special

[issue23858] Look for local sqlite3 by parsing -I/-L flags in linux as well.

2015-04-03 Thread Simon Ye
New submission from Simon Ye: Based off of https://github.com/Homebrew/linuxbrew/pull/330. Currently building python on linux only looks for sqlite include paths in a hardcoded set of system paths, but if the user specifies -I/-L options during compilation, python setup.py looks there for sqli