projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49e4dfe
)
Issue #16848: python-config now returns proper --ldflags values for OS X
author
Ned Deily
<nad@acm.org>
Mon, 4 Mar 2013 22:31:04 +0000
(14:31 -0800)
committer
Ned Deily
<nad@acm.org>
Mon, 4 Mar 2013 22:31:04 +0000
(14:31 -0800)
framework builds.
Misc/NEWS
patch
|
blob
|
history
Misc/python-config.in
patch
|
blob
|
history
diff --git
a/Misc/NEWS
b/Misc/NEWS
index 15af7665d3a93f51e853de4fafe62ceb2eb6f3c9..588a5c640255074a2e002572c9c0e902986f5dee 100644
(file)
--- a/
Misc/NEWS
+++ b/
Misc/NEWS
@@
-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
-----------
diff --git
a/Misc/python-config.in
b/Misc/python-config.in
index 552bbd55fe56b1d06350b03195ec8bf289560005..ca9857a89be22e89d8d70ca931d817098b987071 100644
(file)
--- a/
Misc/python-config.in
+++ b/
Misc/python-config.in
@@
-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)