We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db1135 commit 6674109Copy full SHA for 6674109
graalpython/com.oracle.graal.python.cext/CMakeLists.txt
@@ -367,6 +367,9 @@ set(CTYPES_SRC
367
"${SRC_DIR}/modules/_ctypes/ctypes.h"
368
"${SRC_DIR}/modules/_ctypes/stgdict.c"
369
)
370
+if(APPLE)
371
+ set(CTYPES_SRC ${CTYPES_SRC} "${SRC_DIR}/modules/_ctypes/malloc_closure.c")
372
+endif()
373
native_module("_ctypes" TRUE "${CTYPES_SRC}")
374
target_include_directories("_ctypes" PUBLIC "${SRC_DIR}/modules/_ctypes")
375
find_library(FFI_LIBRARY
@@ -414,7 +417,7 @@ elseif(APPLE)
414
417
HAVE_DECL_RTLD_LOCAL
415
418
HAVE_DECL_RTLD_GLOBAL
416
419
HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH
- HAVE_BUILTIN_AVAILABLE
420
+ USING_MALLOC_CLOSURE_DOT_C
421
422
else()
423
target_compile_definitions("_ctypes" PRIVATE
0 commit comments