Skip to content

Commit 22b3eec

Browse files
committed
unix: handle frameworks
Needed for macOS compatibility.
1 parent 32876d2 commit 22b3eec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cpython-unix/build.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,10 @@ def process_setup_line(line, variant=None):
372372

373373
links = []
374374

375+
for framework in sorted(d["frameworks"]):
376+
log("adding framework %s for extension %s" % (framework, extension))
377+
links.append({"name": framework, "framework": True})
378+
375379
for libname in sorted(d["links"]):
376380
log("adding library %s for extension %s" % (libname, extension))
377381

0 commit comments

Comments
 (0)