Skip to content
Discussion options

You must be logged in to vote

Thanks @alexbatashev offer workaround.

set(abi_linker_script "${CMAKE_CURRENT_SOURCE_DIR}/abi_replacements_linux.txt")
target_link_libraries(
${LIB_NAME} PRIVATE "-Wl,${abi_linker_script}")
set_target_properties(${LIB_NAME} PROPERTIES LINK_DEPENDS ${abi_linker_script})

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@haonanya
Comment options

@linuxcpp6
Comment options

@alexbatashev
Comment options

@linuxcpp6
Comment options

@linuxcpp6
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by haonanya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants