From 4772c42c663b5eb73086c8929f2253d1f842a7fe Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Thu, 13 Sep 2012 20:27:03 +0400 Subject: [PATCH] Tweak strip flags for Android camera wrapper libs --- modules/androidcamera/camera_wrapper/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/androidcamera/camera_wrapper/CMakeLists.txt b/modules/androidcamera/camera_wrapper/CMakeLists.txt index b5cfbc1105..21b9ee1ad2 100644 --- a/modules/androidcamera/camera_wrapper/CMakeLists.txt +++ b/modules/androidcamera/camera_wrapper/CMakeLists.txt @@ -59,7 +59,7 @@ SET_TARGET_PROPERTIES(${the_target} PROPERTIES ) if (NOT (CMAKE_BUILD_TYPE MATCHES "debug")) - ADD_CUSTOM_COMMAND( TARGET ${the_target} POST_BUILD COMMAND ${CMAKE_STRIP} "${LIBRARY_OUTPUT_PATH}/lib${the_target}.so" ) + ADD_CUSTOM_COMMAND( TARGET ${the_target} POST_BUILD COMMAND ${CMAKE_STRIP} --strip-unneeded "${LIBRARY_OUTPUT_PATH}/lib${the_target}.so" ) endif()