avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [avro] 01/01: AVRO-2063. C: VERSION, SOVERSION not set correctly for shared library (#239)
Date Mon, 10 Dec 2018 19:22:21 GMT
This is an automated email from the ASF dual-hosted git repository.

dkulp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git

commit 4b1ab225fef8e8f66cb95d6605bdd4fd568929ed
Merge: 7fbedbb 5e85226
Author: Daniel Kulp <dan@kulp.com>
AuthorDate: Mon Dec 10 14:22:16 2018 -0500

    AVRO-2063. C: VERSION, SOVERSION not set correctly for shared library (#239)
    
    Prior to this commit the VERSION and SOVERSION properties were not being
    set correctly for the Avro C shared library. Previously, VERSION was
    unset, and SOVERSION was set to the full dotted version string (e.g.
    "23.0.0"), which resulted in a SONAME of "libavro.so.23.0.0", which is
    incorrect.
    
    This commit sets SOVERSION to the library's "current" version number
    (obtained by invoking "version.sh libcurrent"), and sets VERSION to the
    full dotted version string.
    
    This should result in a proper libavro.so → libavro.so.23 →
    libavro.so.23.0.0 symlink chain with a SONAME of "libavro.so.23".
    
    See Sune Vuorela's article on "CMake and library properties":
    http://pusling.com/blog/?p=352.

 lang/c/CMakeLists.txt     | 10 ++++++++++
 lang/c/src/CMakeLists.txt |  5 +++--
 2 files changed, 13 insertions(+), 2 deletions(-)


Mime
View raw message