From cc4e8741ccdaa905017f3c7c59e14c685a239c2d Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Mon, 7 Mar 2011 07:17:49 +0100 Subject: rbd: don't link with -lcrypto rbd support tries to both link with -lrados and -lcrypto. While the first one is of course necessary, the second is not necessary (only librados ifself needs to link with libcrypto). This fixes a licensing issue: qemu as a whole is GPL v2, and thus can't be linked with OpenSSL without an exception in the license, which seems difficult to get given the number of persons involved. Cc: Christian Brunner Signed-off-by: Aurelien Jarno --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index a166de07fc..b523a6ef94 100755 --- a/configure +++ b/configure @@ -1802,7 +1802,7 @@ if test "$rbd" != "no" ; then #include int main(void) { rados_initialize(0, NULL); return 0; } EOF - rbd_libs="-lrados -lcrypto" + rbd_libs="-lrados" if compile_prog "" "$rbd_libs" ; then librados_too_old=no cat > $TMPC <