From: Nathan Cutler Date: Sun, 29 Jan 2017 12:12:43 +0000 (+0100) Subject: build/ops: add libldap dependency for RGW X-Git-Tag: v10.2.6~25^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=401271e353fcfd59bf0285c53643b667281954d0;p=ceph.git build/ops: add libldap dependency for RGW This is a minimal manual backport of the relevant parts of a4c7e13d17ceff3ee15fc311c2a344cd4573821d and b3b3185008a0a2149dcba59813e0f0400d2e47de Fixes: http://tracker.ceph.com/issues/17313 Signed-off-by: Nathan Cutler --- diff --git a/src/rgw/Makefile.am b/src/rgw/Makefile.am index b083dd1022b8..ef4f5e8d9acb 100644 --- a/src/rgw/Makefile.am +++ b/src/rgw/Makefile.am @@ -116,6 +116,11 @@ LIBRGW_DEPS += \ -lfcgi \ -ldl +if WITH_OPENLDAP +LIBRGW_DEPS += \ + -lldap +endif + librgw_la_LIBADD = $(LIBRGW_DEPS) \ $(PTHREAD_LIBS) $(RESOLV_LIBS) libglobal.la \ $(EXTRALIBS)