diff options
author | Julien Cristau <jcristau@debian.org> | 2012-06-14 20:07:01 +0200 |
---|---|---|
committer | Enrico Zini <enrico@enricozini.org> | 2012-06-14 20:21:09 +0200 |
commit | 127f453f7a674caea46ecf6ebabdad829e37b5d8 (patch) | |
tree | 6078a7d9e9f67b3eb03d2fd841dc4866e9900fdc /ept | |
parent | 7d4383bd070a53e6c679fe189c9f15fdb7b1dcef (diff) | |
download | libept-127f453f7a674caea46ecf6ebabdad829e37b5d8.tar.gz |
Separate the software version and shared library version
Not all version changes warrant a SONAME bump, so don't abuse the
version as SONAME. This changes the soname to
libept.so.1.aptpkg<version>, with <version> replaced by the libapt-pkg
soversion, which is now detected at build time instead of being
hardcoded. Add a compatibility symlink for libept.so.1.0.5.4.12.
Diffstat (limited to 'ept')
-rw-r--r-- | ept/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ept/CMakeLists.txt b/ept/CMakeLists.txt index c28b3ec..201e87a 100644 --- a/ept/CMakeLists.txt +++ b/ept/CMakeLists.txt @@ -26,8 +26,8 @@ add_definitions( -fexceptions -fPIC -fvisibility=default ) add_library( ept SHARED ${src} ) add_library( ept-static STATIC ${src} ) -set_target_properties( ept PROPERTIES VERSION ${EPT_VERSION} CLEAN_DIRECT_OUTPUT 1) -set_target_properties( ept-static PROPERTIES VERSION ${EPT_VERSION} OUTPUT_NAME "ept" CLEAN_DIRECT_OUTPUT 1) +set_target_properties( ept PROPERTIES SOVERSION ${LIBEPT_SOVERSION} CLEAN_DIRECT_OUTPUT 1) +set_target_properties( ept-static PROPERTIES SOVERSION ${LIBEPT_SOVERSION} OUTPUT_NAME "ept" CLEAN_DIRECT_OUTPUT 1) set( TEST_ENV_DIR ${ept_BINARY_DIR}/test-env/ ) |