fix build error use ld linker
This commit is contained in:
@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user