mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
Makefile: drop separate libjson_spirit.la
automake seems to have difficulty with the .la dependency on another .la. Since libjson_spirit.la is only used by libcommon.la anyway, just build it directly into that. Sigh. ... CXXLD libjson_spirit.la AR libmds.a CXXLD libcls_rbd.la CXXLD libcls_rgw.la CXXLD cephfs CCLD test_ioctls CC libcommon_la-ceph_ver.lo CXX libcommon_la-version.lo CXX ceph_dencoder.o CCLD mount.ceph CC ceph_ver.o CXX test_libhadoopcephfs_build-version.o CXXLD test_libhadoopcephfs_build CXXLD libcommon.la libtool: link: cannot find the library `libjson_spirit.la' or unhandled argument `libjson_spirit.la' Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
a7de459f69
commit
fd0712dfb4
@ -842,16 +842,10 @@ clean-local:
|
||||
|
||||
# libs
|
||||
|
||||
libjson_spirit_la_SOURCES = \
|
||||
json_spirit/json_spirit_reader.cpp \
|
||||
json_spirit/json_spirit_writer.cpp \
|
||||
json_spirit/json_spirit_value.cpp
|
||||
noinst_LTLIBRARIES += libjson_spirit.la
|
||||
|
||||
libcommon_la_SOURCES = $(libcommon_files)
|
||||
libcommon_la_CFLAGS= ${CRYPTO_CFLAGS} ${AM_CFLAGS}
|
||||
libcommon_la_CXXFLAGS= ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS}
|
||||
libcommon_la_LDFLAGS = -lrt libjson_spirit.la
|
||||
libcommon_la_LDFLAGS = -lrt
|
||||
noinst_LTLIBRARIES += libcommon.la
|
||||
|
||||
libglobal_la_SOURCES = \
|
||||
@ -911,6 +905,9 @@ libcommon_files = \
|
||||
common/snap_types.cc \
|
||||
common/str_list.cc \
|
||||
common/errno.cc \
|
||||
json_spirit/json_spirit_reader.cpp \
|
||||
json_spirit/json_spirit_writer.cpp \
|
||||
json_spirit/json_spirit_value.cpp \
|
||||
msg/SimpleMessenger.cc \
|
||||
mon/MonCaps.cc \
|
||||
mon/MonClient.cc \
|
||||
|
Loading…
Reference in New Issue
Block a user