]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: always create static lib librados_a
authorKefu Chai <kchai@redhat.com>
Thu, 20 Oct 2016 07:21:19 +0000 (15:21 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 20 Oct 2016 08:54:10 +0000 (16:54 +0800)
commit8362c5f1cf106ff870b754cfb9736da1d09732d2
tree8c0c06656964f026f755e7e9eafcb4568cbf1677
parent60c008d4df1b9eb5307dc8336a0d9bb0562aabd2
cmake: always create static lib librados_a

so tests referencing internal symbols can use librados_a instead of
librados to avoid violating ODR (one definition rule).

Fixes: http://tracker.ceph.com/issues/17260
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/librados/CMakeLists.txt