We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 705b7e8 commit 8099e2dCopy full SHA for 8099e2d
1 file changed
cext/CMakeLists.txt
@@ -64,7 +64,7 @@ if (ENABLE_ASAN)
64
endif()
65
66
add_library(_cext_shared SHARED module.cpp)
67
-target_link_libraries(_cext_shared _cext_static ${Python_LIBRARIES} ${asan_library})
+target_link_libraries(_cext_shared _cext_static ${Python_LIBRARIES} ${asan_library} c)
68
target_compile_options(_cext_shared PUBLIC ${cext_compile_flags} ${nostdlib_flags})
69
target_include_directories(_cext_shared PRIVATE ${cext_include_dirs})
70
target_link_options(_cext_shared PUBLIC ${cext_link_flags} ${nostdlib_flags} -Wl,--no-undefined)
0 commit comments