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.

Author xzcvczx
Recipients ned.deily, ronaldoussoren, xzcvczx
Date 2018-10-11.18:11:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
if you didn't build python as a framework it adds sysconfig.get_config_vars('LINKFORSHARED') when you run 'python-config --ldflags' this resolves to

>>> sysconfig.get_config_var('LINKFORSHARED')
'-Wl,-stack_size,1000000  -framework CoreFoundation /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/Python'

the '-Wl,-stack_size' ldflag causes issues for clang with the error

"ld: -stack_size option can only be used when linking a main executable"
Date User Action Args
2018-10-11 18:11:21xzcvczxsetrecipients: + xzcvczx, ronaldoussoren, ned.deily
2018-10-11 18:11:21xzcvczxsetmessageid: <>
2018-10-11 18:11:21xzcvczxlinkissue34960 messages
2018-10-11 18:11:21xzcvczxcreate