Skip to content

Commit

Permalink
Change soversion to 13.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jan 21, 2020
1 parent 619ae82 commit ef9eda8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ package:
source:
url: https://github.com/libjpeg-turbo/libjpeg-turbo/archive/{{ version }}.tar.gz
sha256: 7777c3c19762940cff42b3ba4d7cd5c52d1671b39a79532050c85efb99079064
patches:
# compatibility with ijg jpeg lib
- soversion-compat.patch

build:
number: 1
Expand Down
14 changes: 14 additions & 0 deletions recipe/soversion-compat.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/sharedlib/CMakeLists.txt b/sharedlib/CMakeLists.txt
index 8d65e58..306cfde 100755
--- a/sharedlib/CMakeLists.txt
+++ b/sharedlib/CMakeLists.txt
@@ -38,8 +38,7 @@ endif()
add_library(jpeg SHARED ${JPEG_SRCS} ${DEFFILE} $<TARGET_OBJECTS:simd>
${SIMD_OBJS})

-set_target_properties(jpeg PROPERTIES SOVERSION ${SO_MAJOR_VERSION}
- VERSION ${SO_MAJOR_VERSION}.${SO_AGE}.${SO_MINOR_VERSION})
+set_target_properties(jpeg PROPERTIES SOVERSION 13 VERSION 13.0.0)
if(APPLE AND (NOT CMAKE_OSX_DEPLOYMENT_TARGET OR
CMAKE_OSX_DEPLOYMENT_TARGET VERSION_GREATER 10.4))
if(NOT CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG)

0 comments on commit ef9eda8

Please sign in to comment.