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 688ce1d commit 8bfb2b8Copy full SHA for 8bfb2b8
graalpython/com.oracle.graal.python.cext/CMakeLists.txt
@@ -229,6 +229,9 @@ target_compile_options(${TARGET_LIBPYTHON} PRIVATE ${CFLAGS_WARNINGS})
229
if(WIN32)
230
target_link_directories(${TARGET_LIBPYTHON} PRIVATE ${GRAALVM_LLVM_LIB_DIR})
231
target_link_libraries(${TARGET_LIBPYTHON} sulong-native graalvm-llvm)
232
+else()
233
+ # Link to math library; required for functions like 'hypot' or similar
234
+ target_link_libraries(${TARGET_LIBPYTHON} m)
235
endif()
236
237
install(TARGETS ${TARGET_LIBPYTHON} DESTINATION bin)
0 commit comments