aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-03-07 07:17:49 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-03-29 08:53:13 +0200
commit3d19c4e338e3281cf91bf29f32e8624bda3cc14c (patch)
tree170b3863bd53dbf1726a74c7c60b66cfd6cbc769
parentnet: Add the missing option declaration of "vhostforce" (diff)
downloadqemu-kvm-3d19c4e338e3281cf91bf29f32e8624bda3cc14c.tar.gz
qemu-kvm-3d19c4e338e3281cf91bf29f32e8624bda3cc14c.tar.bz2
qemu-kvm-3d19c4e338e3281cf91bf29f32e8624bda3cc14c.zip
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 <chb@muc.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> (cherry picked from commit cc4e8741ccdaa905017f3c7c59e14c685a239c2d)
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 598e8e1eb..f2551b38d 100755
--- a/configure
+++ b/configure
@@ -1795,7 +1795,7 @@ if test "$rbd" != "no" ; then
#include <rados/librados.h>
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 <<EOF