[issue18096] bad library order returned by python-config.in
Logan Chien
report at bugs.python.org
Wed Oct 1 21:21:43 CEST 2014
Logan Chien added the comment:
It seems that this is still reproducible with Python 3.5 (dev) by running:
$ gcc test.c `python3-config --includes --ldflags`
cpython-install/lib/python3.5/config-3.5m/libpython3.5m.a(pytime.o): In function `_PyTime_ObjectToTime_t':
cpython-build/../cpython/Python/pytime.c:371: undefined reference to `ceil'
cpython-build/../cpython/Python/pytime.c:373: undefined reference to `floor'
... skipped ...
I have slightly revised the patch to include Misc/python-config.sh.in as well. Please have a look. Thanks.
----------
keywords: +patch
nosy: +Logan.Chien
versions: +Python 3.5
Added file: http://bugs.python.org/file36767/fix-undef-ref.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18096>
_______________________________________
More information about the Python-bugs-list
mailing list