summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/dynload_mac.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/dynload_mac.c b/Python/dynload_mac.c
index 645df90..e5e08e3 100644
--- a/Python/dynload_mac.c
+++ b/Python/dynload_mac.c
@@ -20,8 +20,12 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
#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}
};