diff options
author | CoprDistGit <infra@openeuler.org> | 2025-03-06 09:13:30 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-03-06 09:13:30 +0000 |
commit | 4d018693fbd18be77e8b5501cfcd2c6265581967 (patch) | |
tree | a5e4ba824efae025ea5b90e65b43c9eb3afd6fe1 /libyuv-0002-Use-a-proper-so-version.patch | |
parent | fd4bbf82cbd4b906e7c85186c293427595c2cdf9 (diff) |
automatic import of libyuv
Diffstat (limited to 'libyuv-0002-Use-a-proper-so-version.patch')
-rw-r--r-- | libyuv-0002-Use-a-proper-so-version.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libyuv-0002-Use-a-proper-so-version.patch b/libyuv-0002-Use-a-proper-so-version.patch new file mode 100644 index 0000000..0c8d2c1 --- /dev/null +++ b/libyuv-0002-Use-a-proper-so-version.patch @@ -0,0 +1,18 @@ +From: Peter Lemenkov <lemenkov@gmail.com> +Date: Fri, 21 Sep 2018 12:45:55 +0200 +Subject: [PATCH] Use a proper so-version + +Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index aae18296..408032c6 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -123,6 +123,7 @@ ADD_LIBRARY( ${ly_lib_static} STATIC ${ly_lib_parts}) + ADD_LIBRARY( ${ly_lib_shared} SHARED ${ly_lib_parts}) + SET_TARGET_PROPERTIES( ${ly_lib_shared} PROPERTIES OUTPUT_NAME "${ly_lib_name}" ) + SET_TARGET_PROPERTIES( ${ly_lib_shared} PROPERTIES PREFIX "lib" ) ++SET_TARGET_PROPERTIES( ${ly_lib_shared} PROPERTIES VERSION "${YUV_VERSION}" SOVERSION "${YUV_VER_MAJOR}" ) + if(WIN32) + SET_TARGET_PROPERTIES( ${ly_lib_shared} PROPERTIES IMPORT_PREFIX "lib" ) + endif() |