diff options
author | Jason Dillaman <dillaman@redhat.com> | 2019-02-04 22:13:45 +0100 |
---|---|---|
committer | Jason Dillaman <dillaman@redhat.com> | 2019-02-21 14:27:38 +0100 |
commit | d2b1ab49f52533c0c16908189bb2bda1fd96a279 (patch) | |
tree | dc444a0cf2d53794f27e4635d3c093debb40a34b /src/librados/CMakeLists.txt | |
parent | librados: add symbol versioning to the C API (diff) | |
download | ceph-d2b1ab49f52533c0c16908189bb2bda1fd96a279.tar.xz ceph-d2b1ab49f52533c0c16908189bb2bda1fd96a279.zip |
librados: add symbol versioning to the C++ API
The future goal would be to change the version for each Ceph major
release to ensure C++ applications will need to be recompiled against
the librados C++ API since we don't guarentee ABI stability.
Fixes: https://tracker.ceph.com/issues/38177
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'src/librados/CMakeLists.txt')
-rw-r--r-- | src/librados/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librados/CMakeLists.txt b/src/librados/CMakeLists.txt index 709184bd36e..6efed26bd8f 100644 --- a/src/librados/CMakeLists.txt +++ b/src/librados/CMakeLists.txt @@ -9,7 +9,7 @@ add_library(librados_impl STATIC add_library(librados ${CEPH_SHARED} librados_c.cc librados_cxx.cc - ../common/buffer.cc) + $<TARGET_OBJECTS:common_buffer_obj>) if(ENABLE_SHARED) set_target_properties(librados PROPERTIES OUTPUT_NAME rados |