未验证 提交 048c4e38 编写于 作者: engineer1109's avatar engineer1109 提交者: GitHub

Fix Python Link Order Error (#46259)

上级 b1658232
......@@ -388,7 +388,8 @@ function(cc_library TARGET_NAME)
target_link_libraries(${TARGET_NAME} "-Wl,-undefined,dynamic_lookup")
endif()
endif()
target_link_libraries(${TARGET_NAME} ${cc_library_DEPS})
target_link_libraries(${TARGET_NAME} ${cc_library_DEPS}
${PYTHON_LIBRARIES})
common_link(${TARGET_NAME})
endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册