mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
Makefile.am: disable building ceph_test_cors when radosgw is not enabled
This test depends on radosgw. Trying to build it without radosgw will result in a compile error. Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
This commit is contained in:
parent
db7a09507e
commit
690e4df19a
@ -877,11 +877,13 @@ unittest_texttable_LDADD = librados.la ${UNITTEST_LDADD}
|
||||
unittest_texttable_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS}
|
||||
check_PROGRAMS += unittest_texttable
|
||||
|
||||
if WITH_RADOSGW
|
||||
ceph_test_cors_SOURCES = test/test_cors.cc
|
||||
ceph_test_cors_LDFLAGS = libglobal.la
|
||||
ceph_test_cors_LDADD = librados.la librgw.a ${UNITTEST_LDADD} ${UNITTEST_STATIC_LDADD} -lcryptopp -lcurl -luuid -lexpat
|
||||
ceph_test_cors_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS}
|
||||
bin_DEBUGPROGRAMS += ceph_test_cors
|
||||
endif
|
||||
|
||||
ceph_test_librbd_SOURCES = test/librbd/test_librbd.cc test/librados/test.cc
|
||||
ceph_test_librbd_LDADD = librbd.la librados.la ${UNITTEST_STATIC_LDADD}
|
||||
|
Loading…
Reference in New Issue
Block a user