在CMake时添加-ldl等编译选项:TARGET

xiaoxiao2021-02-27  217

SET(SRC_LIST src/main/cpp/AndroidInjectSo.c src/main/cpp/myptrace.c) add_executable(AndroidInjectSo ${SRC_LIST}) TARGET_LINK_LIBRARIES(AndroidInjectSo dl)
转载请注明原文地址: https://www.6miu.com/read-10891.html

最新回复(0)