diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2011-03-07 07:17:49 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-03-21 21:27:54 +0100 |
commit | cc4e8741ccdaa905017f3c7c59e14c685a239c2d (patch) | |
tree | 0ed8d6104fbf1e29d0a3488d37298312723b7c73 | |
parent | 34933c8c9485992f2a7d318bb23f313343f3ac10 (diff) | |
download | qemu-cc4e8741ccdaa905017f3c7c59e14c685a239c2d.zip qemu-cc4e8741ccdaa905017f3c7c59e14c685a239c2d.tar.gz qemu-cc4e8741ccdaa905017f3c7c59e14c685a239c2d.tar.bz2 |
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>
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1802,7 +1802,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 |