mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
erasure-code: mon, osd etc. depend on the plugins
Since the erasure code plugin version check has been introduced, whenever a library/binary that can load plugin needs to be recompiled, the erasure code plugins must also be considered. If the reason for recompiling the library/binary is a new commit, the plugins will fail to load. The dependency is not based on source compilation and a shared library dependency on liberasure-code.la is added instead. This library is uniformly used whenever a plugin is to be loaded and therefore covers all library/binaries that need it. http://tracker.ceph.com/issues/9413 Fixes: #9413 Signed-off-by: Loic Dachary <loic-201408@dachary.org>
This commit is contained in:
parent
136c5e1104
commit
117de007ef
@ -13,6 +13,7 @@ endif # WITH_BETTER_YASM_ELF64
|
||||
liberasure_code_la_SOURCES = \
|
||||
erasure-code/ErasureCodePlugin.cc
|
||||
erasure-code/ErasureCodePlugin.cc: ./ceph_ver.h
|
||||
liberasure_code_la_DEPENDENCIES = $(erasure_codelib_LTLIBRARIES)
|
||||
if LINUX
|
||||
liberasure_code_la_LIBADD = -ldl
|
||||
endif # LINUX
|
||||
|
Loading…
Reference in New Issue
Block a user