diff options
author | CoprDistGit <infra@openeuler.org> | 2025-03-06 08:20:14 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-03-06 08:20:14 +0000 |
commit | b9714199c43c2f1d9b09778ef9d1a193da302a13 (patch) | |
tree | 52dbdc8f8b6267fc29dc3313b78826348b507c7e /libyuv-0002-Use-a-proper-so-version.patch | |
parent | fd4bbf82cbd4b906e7c85186c293427595c2cdf9 (diff) |
automatic import of libyuvopeneuler24.03_LTS
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() |