mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
[Part of patch #641685] Add .dylib as an extension for shared libraries
This commit is contained in:
parent
a246d9fefd
commit
31ddfb6942
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ def read_setup_file (filename):
|
|||
ext.extra_link_args.append(word)
|
||||
if not value:
|
||||
append_next_word = ext.extra_link_args
|
||||
elif suffix in (".a", ".so", ".sl", ".o"):
|
||||
elif suffix in (".a", ".so", ".sl", ".o", ".dylib"):
|
||||
# NB. a really faithful emulation of makesetup would
|
||||
# append a .o file to extra_objects only if it
|
||||
# had a slash in it; otherwise, it would s/.o/.c/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue