mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
fixed lintian warnings
This commit is contained in:
parent
dafb4b81da
commit
6677f81779
@ -266,6 +266,11 @@ ocv_get_lintian_version(LINTIAN_VERSION)
|
||||
set(LIBS_LINTIAN_OVERRIDES "binary-or-shlib-defines-rpath" # usr/lib/libopencv_core.so.2.4.12
|
||||
"package-name-doesnt-match-sonames") # libopencv-calib3d2.4 libopencv-contrib2.4
|
||||
|
||||
if(AARCH64 AND CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
|
||||
# GCC 4.8 has a bug which sometimes causes it to produce non-PIC aarch64 code.
|
||||
list(APPEND LIBS_LINTIAN_OVERRIDES "shlib-with-non-pic-code")
|
||||
endif()
|
||||
|
||||
if(HAVE_opencv_python)
|
||||
set(PYTHON_LINTIAN_OVERRIDES "binary-or-shlib-defines-rpath" # usr/lib/python2.7/dist-packages/cv2.so
|
||||
"missing-dependency-on-numpy-abi")
|
||||
|
Loading…
Reference in New Issue
Block a user