]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
jewel: fixed the issue when --disable-server, compilation fails. 12239/head
authorPan Liu <pan.liu@istuary.com>
Fri, 2 Dec 2016 10:20:04 +0000 (18:20 +0800)
committerPan Liu <pan.liu@istuary.com>
Fri, 2 Dec 2016 10:20:04 +0000 (18:20 +0800)
If cannot disable-server, the user has to always compile backend storage part,
even only want to compile the client. Cherry-pick cannot be done because ceph
master doesn't have Makefile.am any more.

Signed-off-by: Pan Liu <pan.liu@istuary.com>
src/common/Makefile.am

index 86df75d0a32e869677e8b81419836a84b82984d0..d7ab284d0bd57115d6098b1cff3ab350d7af493b 100644 (file)
@@ -82,12 +82,14 @@ libcommon_internal_la_SOURCES = \
 
 common/PluginRegistry.cc: ./ceph_ver.h
 
+libcommon_internal_la_SOURCES += \
+       common/ceph_json.cc \
+       common/util.cc
+
 if ENABLE_SERVER
 libcommon_internal_la_SOURCES += \
        common/xattr.c \
        common/ipaddr.cc \
-       common/ceph_json.cc \
-       common/util.cc \
        common/pick_address.cc
 endif