]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Makefile.am: fix build of ceph_test_cors 195/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 3 Apr 2013 18:04:02 +0000 (20:04 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 3 Apr 2013 18:04:02 +0000 (20:04 +0200)
Fix build of ceph_test_cors: use $(CRYPTO_LIBS) instead of -lcryptopp.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/Makefile.am

index 290687b431c9c08a892af48c607344d6ac6a3795..09f1e934b23a80932ef22ec401a730436b25555a 100644 (file)
@@ -883,7 +883,7 @@ 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_LDADD = librados.la librgw.a ${UNITTEST_LDADD} ${UNITTEST_STATIC_LDADD} $(CRYPTO_LIBS) -lcurl -luuid -lexpat
 ceph_test_cors_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS}
 bin_DEBUGPROGRAMS += ceph_test_cors
 endif