[med-svn] [Git][med-team/charls][master] libCharLS.so not libcharls.so to prevent breakage

Shayan Doust gitlab at salsa.debian.org
Wed Sep 30 18:00:40 BST 2020



Shayan Doust pushed to branch master at Debian Med / charls


Commits:
2b110704 by Shayan Doust at 2020-09-30T18:00:13+01:00
libCharLS.so not libcharls.so to prevent breakage

- - - - -


2 changed files:

- + debian/patches/change_library_name.patch
- debian/patches/series


Changes:

=====================================
debian/patches/change_library_name.patch
=====================================
@@ -0,0 +1,24 @@
+Description: rename library to libCharLS.so to prevent breakage 
+Author: <name and email of author, optional>
+Last-Update: 2020-09-30
+---
+
+--- charls.orig/src/CMakeLists.txt
++++ charls/src/CMakeLists.txt
+@@ -14,12 +14,14 @@
+ 
+ if(WIN32 AND BUILD_SHARED_LIBS)
+   if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+-    set_target_properties(charls PROPERTIES OUTPUT_NAME "charls-2-x64")
++	  set_target_properties(charls PROPERTIES OUTPUT_NAME "charls-2-x64")
+   else()
+-    set_target_properties(charls PROPERTIES OUTPUT_NAME "charls-2-x86")
++	  set_target_properties(charls PROPERTIES OUTPUT_NAME "charls-2-x86")
+   endif()
+ endif()
+ 
++set_target_properties(charls PROPERTIES OUTPUT_NAME "CharLS")
++
+ set_target_properties(charls PROPERTIES
+                       VERSION ${PROJECT_VERSION}
+                       SOVERSION ${PROJECT_VERSION_MAJOR})


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 #add_visibility.patch
+change_library_name.patch
 stl_symbols_hack.patch
 noexplicitstd.patch



View it on GitLab: https://salsa.debian.org/med-team/charls/-/commit/2b1107044fdf2e6a3d26163281524cd674a92e8f

-- 
View it on GitLab: https://salsa.debian.org/med-team/charls/-/commit/2b1107044fdf2e6a3d26163281524cd674a92e8f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200930/d1b94459/attachment.html>


More information about the debian-med-commit mailing list