From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36204 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwTlX-0004Hd-S1 for qemu-devel@nongnu.org; Mon, 07 Mar 2011 01:18:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwTlW-0004qM-Gg for qemu-devel@nongnu.org; Mon, 07 Mar 2011 01:17:59 -0500 Received: from hall.aurel32.net ([88.191.126.93]:60858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwTlW-0004qG-7M for qemu-devel@nongnu.org; Mon, 07 Mar 2011 01:17:58 -0500 From: Aurelien Jarno Date: Mon, 7 Mar 2011 07:17:49 +0100 Message-Id: <1299478669-11231-1-git-send-email-aurelien@aurel32.net> Subject: [Qemu-devel] [PATCH] rbd: don't link with -lcrypto List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Christian Brunner , Aurelien Jarno 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index ef51a58..5932e39 100755 --- a/configure +++ b/configure @@ -1801,7 +1801,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 <