mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
make: do not compile XFS.cc if --without-libxfs
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
8ef07420b1
commit
109e5b127b
@ -8,7 +8,6 @@ if ENABLE_SERVER
|
||||
libos_la_SOURCES = \
|
||||
os/chain_xattr.cc \
|
||||
os/fs/FS.cc \
|
||||
os/fs/XFS.cc \
|
||||
os/DBObjectMap.cc \
|
||||
os/GenericObjectMap.cc \
|
||||
os/FileJournal.cc \
|
||||
@ -31,7 +30,9 @@ libos_la_SOURCES += os/BtrfsFileStoreBackend.cc
|
||||
endif
|
||||
|
||||
if WITH_LIBXFS
|
||||
libos_la_SOURCES += os/XfsFileStoreBackend.cc
|
||||
libos_la_SOURCES += \
|
||||
os/fs/XFS.cc \
|
||||
os/XfsFileStoreBackend.cc
|
||||
endif
|
||||
|
||||
if WITH_LIBZFS
|
||||
|
@ -24,9 +24,12 @@
|
||||
|
||||
#include "FS.h"
|
||||
|
||||
#include "XFS.h"
|
||||
|
||||
#include "acconfig.h"
|
||||
|
||||
#ifdef HAVE_LIBXFS
|
||||
#include "XFS.h"
|
||||
#endif
|
||||
|
||||
#ifdef DARWIN
|
||||
#include <sys/mount.h>
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user