Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8eb4b56

Browse files
committed
Added a separate extension (.carbon.slb) for Carbon dynamic modules.
1 parent fd97a91 commit 8eb4b56

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Python/dynload_mac.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
1919
{".slb", "rb", C_EXTENSION},
2020
#ifdef __CFM68K__
2121
{".CFM68K.slb", "rb", C_EXTENSION},
22+
#else
23+
#ifdef TARGET_API_MAC_CARBON
24+
{".carbon.slb", "rb", C_EXTENSION},
2225
#else
2326
{".ppc.slb", "rb", C_EXTENSION},
27+
#endif
2428
#endif
2529
{0, 0}
2630
};

0 commit comments

Comments
 (0)