diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fdf75d63e..3e74f30233 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ * NDK: lowMemory attribute is now reported as expected [1262](https://github.com/bugsnag/bugsnag-android/pull/1262) + +* Don't include loglog.so in ndk plugin builds performed on Linux + [1263](https://github.com/bugsnag/bugsnag-android/pull/1263) ## 5.9.3 (2021-05-18) diff --git a/bugsnag-plugin-android-anr/src/main/CMakeLists.txt b/bugsnag-plugin-android-anr/src/main/CMakeLists.txt index 68b7c83444..f4bc87c22e 100644 --- a/bugsnag-plugin-android-anr/src/main/CMakeLists.txt +++ b/bugsnag-plugin-android-anr/src/main/CMakeLists.txt @@ -12,17 +12,10 @@ add_library( # Specifies the name of the library. include_directories(jni) -find_library( # Defines the name of the path variable that stores the - # location of the NDK library. - log-lib - # Specifies the name of the NDK library that - # CMake needs to locate. - log ) - target_link_libraries( # Specifies the target library. bugsnag-plugin-android-anr # Links the log library to the target library. - ${log-lib}) + log) set_target_properties(bugsnag-plugin-android-anr PROPERTIES diff --git a/bugsnag-plugin-android-ndk/src/main/CMakeLists.txt b/bugsnag-plugin-android-ndk/src/main/CMakeLists.txt index fd72ab9efe..f087e78c1b 100644 --- a/bugsnag-plugin-android-ndk/src/main/CMakeLists.txt +++ b/bugsnag-plugin-android-ndk/src/main/CMakeLists.txt @@ -33,19 +33,10 @@ include_directories( target_include_directories(bugsnag-ndk PRIVATE ${BUGSNAG_DIR}/assets/include) -find_library( # Defines the name of the path variable that stores the - # location of the NDK library. - log-lib - - # Specifies the name of the NDK library that - # CMake needs to locate. - log ) - target_link_libraries( # Specifies the target library. bugsnag-ndk - # Links the log library to the target library. - ${log-lib}) + log) set_target_properties(bugsnag-ndk PROPERTIES