Issue #14197: For OS X framework builds, ensure links to the shared

library are created with the proper ABI suffix.
This commit is contained in:
Ned Deily 2012-07-24 03:31:48 -07:00
parent 55624da8a8
commit ecd4e9de5a
3 changed files with 8 additions and 1 deletions

View file

@ -52,7 +52,8 @@ 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))
elif opt == '--extension-suffix':