diff --git a/Python/dynload_mac.c b/Python/dynload_mac.c index 645df906c58..e5e08e3ee74 100644 --- a/Python/dynload_mac.c +++ b/Python/dynload_mac.c @@ -19,8 +19,12 @@ const struct filedescr _PyImport_DynLoadFiletab[] = { {".slb", "rb", C_EXTENSION}, #ifdef __CFM68K__ {".CFM68K.slb", "rb", C_EXTENSION}, +#else +#ifdef TARGET_API_MAC_CARBON + {".carbon.slb", "rb", C_EXTENSION}, #else {".ppc.slb", "rb", C_EXTENSION}, +#endif #endif {0, 0} };