mirror of
https://github.com/python/cpython.git
synced 2026-01-22 23:28:43 +00:00
Issue #16848: python-config now returns proper --ldflags values for OS X
framework builds.
This commit is contained in:
parent
49e4dfeec8
commit
eec152d217
2 changed files with 5 additions and 1 deletions
|
|
@ -923,6 +923,9 @@ Build
|
|||
|
||||
- Issue #17161: make install now also installs a python2 and python man page.
|
||||
|
||||
- Issue #16848: python-config now returns proper --ldflags values for OS X
|
||||
framework builds.
|
||||
|
||||
Tools/Demos
|
||||
-----------
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ for opt in opt_flags:
|
|||
if opt == '--ldflags':
|
||||
if not getvar('Py_ENABLE_SHARED'):
|
||||
libs.insert(0, '-L' + getvar('LIBPL'))
|
||||
libs.extend(getvar('LINKFORSHARED').split())
|
||||
if not getvar('PYTHONFRAMEWORK'):
|
||||
libs.extend(getvar('LINKFORSHARED').split())
|
||||
print ' '.join(libs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue