From 903d9a5eed817bf27a50a41fc523369fb5f9e13a Mon Sep 17 00:00:00 2001 From: huzhiqiang <912790387@qq.com> Date: Mon, 25 May 2020 10:30:47 +0800 Subject: [PATCH] [Cherry-pick][BUG FIX] Fix the issue that Android static library can not be linked properly (#3695) --- lite/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/lite/CMakeLists.txt b/lite/CMakeLists.txt index c9cad2d4f9..ab6b27082f 100644 --- a/lite/CMakeLists.txt +++ b/lite/CMakeLists.txt @@ -325,7 +325,6 @@ if (LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND LITE_WITH_ARM) add_dependencies(publish_inference tiny_publish_cxx_lib) if(NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug") add_custom_command(TARGET tiny_publish_cxx_lib POST_BUILD - COMMAND ${CMAKE_STRIP} "-s" ${INFER_LITE_PUBLISH_ROOT}/cxx/lib/libpaddle_api_light_bundled.a COMMAND ${CMAKE_STRIP} "-s" ${INFER_LITE_PUBLISH_ROOT}/cxx/lib/libpaddle_light_api_shared.so) endif() endif() -- GitLab