]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: link against system openssl (instead of dlopen at runtime)
authorSage Weil <sage@redhat.com>
Thu, 29 Oct 2015 05:06:36 +0000 (01:06 -0400)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 25 Feb 2016 19:44:10 +0000 (11:44 -0800)
Signed-off-by: Sage Weil <sage@redhat.com>
ceph.spec.in
debian/control
src/Makefile-env.am
src/rgw/Makefile.am

index 406c4f5ddd8ddddb26585fa01e10bbaa51d94dd4..d385074f78a72dd0b7251871b5012d59afade526 100644 (file)
@@ -139,6 +139,7 @@ BuildRequires:      libblkid-devel >= 2.17
 BuildRequires: libudev-devel
 BuildRequires: libtool
 BuildRequires: make
+BuildRequires:  openssl-devel
 BuildRequires: parted
 BuildRequires: perl
 BuildRequires: pkgconfig
index 3e6751117ea28e36cdf99e6c16ede69a255aef0b..c30d5766f8b6994a99a3edcd2e833f5c66397a03 100644 (file)
@@ -41,6 +41,7 @@ Build-Depends: autoconf,
                libleveldb-dev,
                libnss3-dev,
                libsnappy-dev,
+              libssl-dev,
                liblttng-ust-dev,
                libtool,
                libudev-dev,
index a347537eb81ef487815796d75346bc138b332b8c..3a80f2c2aaf4a791616fdd4810d497565559ba10 100644 (file)
@@ -291,6 +291,7 @@ CEPH_GLOBAL = $(LIBGLOBAL) $(LIBCOMMON) $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXT
 LIBCOMMON_DEPS =
 LIBRADOS_DEPS =
 LIBRGW_DEPS =
+LIBCIVETWEB_DEPS =
 
 # This is used by the dencoder test
 DENCODER_SOURCES =
index 9eefc1abbb46a0d7e2e20151803c17e637590cab..40705a373c4c5c75e246691c34cd75efb95143eb 100644 (file)
@@ -129,7 +129,8 @@ libcivetweb_la_SOURCES =  \
 
 libcivetweb_la_CXXFLAGS = ${CIVETWEB_INCLUDE} -fPIC -Woverloaded-virtual \
        ${AM_CXXFLAGS}
-libcivetweb_la_CFLAGS = -I$(srcdir)/civetweb/include ${CIVETWEB_INCLUDE} -fPIC
+libcivetweb_la_CFLAGS = -I$(srcdir)/civetweb/include ${CIVETWEB_INCLUDE} -fPIC -DNO_SSL_DL
+LIBCIVETWEB_DEPS += -lssl
 
 noinst_LTLIBRARIES += libcivetweb.la
 
@@ -143,7 +144,7 @@ radosgw_SOURCES = \
        rgw/rgw_main.cc
 
 radosgw_CFLAGS = -I$(srcdir)/civetweb/include -fPIC -I$(srcdir)/xxHash
-radosgw_LDADD = $(LIBRGW) $(LIBCIVETWEB) $(LIBRGW_DEPS) $(RESOLV_LIBS) \
+radosgw_LDADD = $(LIBRGW) $(LIBCIVETWEB) $(LIBCIVETWEB_DEPS) $(LIBRGW_DEPS) $(RESOLV_LIBS) \
        $(CEPH_GLOBAL)
 bin_PROGRAMS += radosgw