diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2002-11-27 13:45:26 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2002-11-27 13:45:26 (GMT) |
commit | 31ddfb69425fa3791635e7d9a25fe93bc6bcd813 (patch) | |
tree | 5843beb81de0a74d3e48824192787e552cedc5b7 | |
parent | a246d9fefd729294e84a190f2e92cf4e4ff08f20 (diff) | |
download | cpython-31ddfb69425fa3791635e7d9a25fe93bc6bcd813.zip cpython-31ddfb69425fa3791635e7d9a25fe93bc6bcd813.tar.gz cpython-31ddfb69425fa3791635e7d9a25fe93bc6bcd813.tar.bz2 |
[Part of patch #641685] Add .dylib as an extension for shared libraries
-rw-r--r-- | Lib/distutils/extension.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/extension.py b/Lib/distutils/extension.py index e420944..94b56e6 100644 --- a/Lib/distutils/extension.py +++ b/Lib/distutils/extension.py @@ -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/ |