[ptxdist] [PATCH 2/2] python3: prevent host path leakage

2018-01-05 Thread Bastian Stender
If host and target architecture match PyBuildExt.compiler.library_dirs and PyBuildExt.compiler.include_dirs contain host paths (e.g. /usr/lib/i386-linux-gnu, /usr/include/i386-linux-gnu) leading to build failures for some extensions (at least _ssl and _socket). Signed-off-by: Bastian Stender ---

[ptxdist] [PATCH 1/2] python2: prevent host path leakage

2018-01-05 Thread Bastian Stender
If host and target architecture match PyBuildExt.compiler.library_dirs and PyBuildExt.compiler.include_dirs contain host paths (e.g. /usr/lib/i386-linux-gnu, /usr/include/i386-linux-gnu) leading to build failures for some extensions (at least _ssl and _socket). Signed-off-by: Bastian Stender ---