From 117de007ef9603df3dffa5f33933760c5994950c Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Wed, 10 Sep 2014 17:58:45 +0200 Subject: [PATCH] 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 --- src/erasure-code/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/erasure-code/Makefile.am b/src/erasure-code/Makefile.am index dc1db2113dd1a..e42e1260013bf 100644 --- a/src/erasure-code/Makefile.am +++ b/src/erasure-code/Makefile.am @@ -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 -- 2.39.5