提交 ae119045 编写于 作者: W wenxingsen 提交者: LINGuanRen

fix build error use ld linker

上级 e1fd4ed9
...@@ -338,11 +338,15 @@ endif() ...@@ -338,11 +338,15 @@ endif()
target_link_libraries(observer target_link_libraries(observer
PRIVATE PRIVATE
ob_main ob_main
-Wl,--start-group
oceanbase_static oceanbase_static
-static-libgcc
-static-libstdc++
${link_malloc_hook} ${link_malloc_hook}
${LGPL_DEPS} ${LGPL_DEPS}
oblib
easy
-Wl,--end-group
-static-libgcc
-static-libstdc++
) )
execute_process( execute_process(
COMMAND sh -c "cd ${CMAKE_SOURCE_DIR} && git rev-parse HEAD" COMMAND sh -c "cd ${CMAKE_SOURCE_DIR} && git rev-parse HEAD"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册