This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2013年09月08日 16:20 by Benedikt.Morbach, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| 0001-make-sure-to-pass-L.-when-building-standard-extensio.patch | Benedikt.Morbach, 2013年09月08日 16:20 | |||
| Messages (4) | |||
|---|---|---|---|
| msg197277 - (view) | Author: Benedikt Morbach (Benedikt.Morbach) * | Date: 2013年09月08日 16:20 | |
At http://hg.python.org/cpython/file/1043cc2cb0ff/Lib/distutils/command/build_ext.py#l247 build_ext.py compares sys.executable against sys.exec_prefix. When cross compiling cpython, it notices that the interpreter running the build is located at exec_prefix and concludes that it is building a third-party module. Thus, it passes '-L{HOST_LIBDIR}', instead of '-L.', which breaks the build. The attached patch reverses the logic, checking if sys.executable resides in ${PWD} and assuming a third-party module otherwise. This should also fix http://bugs.python.org/issue16326 |
|||
| msg225038 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年08月07日 20:23 | |
@Eric what do you make of the attached patch? |
|||
| msg225042 - (view) | Author: Roumen Petrov (rpetrov) * | Date: 2014年08月07日 21:55 | |
more simple correction is attached to issue17219 |
|||
| msg229710 - (view) | Author: Benedikt Morbach (Benedikt.Morbach) * | Date: 2014年10月20日 03:03 | |
fixed with issue17219 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:50 | admin | set | github: 63176 |
| 2014年10月20日 03:03:29 | Benedikt.Morbach | set | status: open -> closed resolution: fixed messages: + msg229710 |
| 2014年08月07日 21:55:36 | rpetrov | set | nosy:
+ rpetrov messages: + msg225042 |
| 2014年08月07日 20:23:23 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg225038 versions: - Python 2.6, Python 3.1, Python 3.2, Python 3.3 |
| 2013年09月08日 16:20:20 | Benedikt.Morbach | create | |