From 01379bd359034e686727aac7ba7c8fb3ee700d71 Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Mon, 16 Mar 2015 14:45:16 +0100 Subject: [PATCH] Compile test_build_librgw only if WITH_BUILD_TESTS --- src/test/Makefile-client.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/Makefile-client.am b/src/test/Makefile-client.am index fdfdd5726347..824783b9b12a 100644 --- a/src/test/Makefile-client.am +++ b/src/test/Makefile-client.am @@ -425,6 +425,8 @@ endif # WITH_CEPHFS if WITH_RADOSGW + +if WITH_BUILD_TESTS test_build_librgw_SOURCES = \ test/buildtest_skeleton.cc \ $(librgw_la_SOURCES) @@ -436,6 +438,7 @@ test_build_librgw_LDFLAGS = -static-libtool-libs test_build_librgw_CFLAGS = $(AM_CFLAGS) test_build_librgw_CXXFLAGS = $(AM_CXXFLAGS) bin_DEBUGPROGRAMS += test_build_librgw +endif # WITH_BUILD_TESTS #unittest_librgw_link_SOURCES = test/librgw_link.cc #unittest_librgw_link_LDFLAGS = $(PTHREAD_CFLAGS) ${AM_LDFLAGS} -- 2.47.3