Skip to content

Commit ce2dc32

Browse files
committed
Revert "Fix link error by explicitly linking libc for _cext_shared"
This reverts commit 8099e2d.
1 parent 8099e2d commit ce2dc32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cext/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if (ENABLE_ASAN)
6464
endif()
6565

6666
add_library(_cext_shared SHARED module.cpp)
67-
target_link_libraries(_cext_shared _cext_static ${Python_LIBRARIES} ${asan_library} c)
67+
target_link_libraries(_cext_shared _cext_static ${Python_LIBRARIES} ${asan_library})
6868
target_compile_options(_cext_shared PUBLIC ${cext_compile_flags} ${nostdlib_flags})
6969
target_include_directories(_cext_shared PRIVATE ${cext_include_dirs})
7070
target_link_options(_cext_shared PUBLIC ${cext_link_flags} ${nostdlib_flags} -Wl,--no-undefined)

0 commit comments

Comments
 (0)