[opencv] 14/19: brining over fix in master (#4140) for libz import on 64-bit android

Mattia Rizzolo mattia at debian.org
Tue Oct 4 17:51:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to annotated tag 2.4.12.3
in repository opencv.

commit ca50969c2b9bd71f2f6ce7569f8ad595b1bf5244
Author: Aaron Simmons <asimmons at sensoryinc.com>
Date:   Tue Oct 13 17:42:40 2015 -0600

    brining over fix in master (#4140) for libz import on 64-bit android
    
    (cherry picked from commit 55a9fdf0512a6bd3fd82591f48db0942cbd4fc38)
---
 cmake/OpenCVFindLibsGrfmt.cmake | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cmake/OpenCVFindLibsGrfmt.cmake b/cmake/OpenCVFindLibsGrfmt.cmake
index f27a302..43c3b16 100644
--- a/cmake/OpenCVFindLibsGrfmt.cmake
+++ b/cmake/OpenCVFindLibsGrfmt.cmake
@@ -8,7 +8,8 @@ if(BUILD_ZLIB)
 else()
   include(FindZLIB)
   if(ZLIB_FOUND AND ANDROID)
-    if(ZLIB_LIBRARY STREQUAL "${ANDROID_SYSROOT}/usr/lib/libz.so")
+    if(ZLIB_LIBRARIES STREQUAL "${ANDROID_SYSROOT}/usr/lib/libz.so" OR
+        ZLIB_LIBRARIES STREQUAL "${ANDROID_SYSROOT}/usr/lib64/libz.so")
       set(ZLIB_LIBRARY z)
       set(ZLIB_LIBRARIES z)
     endif()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list