Skip to content

Commit

Permalink
Link with C++
Browse files Browse the repository at this point in the history
  • Loading branch information
lexiforest committed Nov 29, 2024
1 parent 7582543 commit 7d4f6aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def get_curl_libraries():
str(root_dir / "ffi/shim.c"),
],
extra_compile_args=(["-Wno-implicit-function-declaration"] if system == "Darwin" else []),
extra_link_args=(["-lstdc++"]),
)

with open(root_dir / "ffi/cdef.c") as f:
Expand Down

0 comments on commit 7d4f6aa

Please sign in to comment.