From fa7a6507b5e2b1d0e2841d33e9059a2578aee487 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 23 Oct 2012 10:11:33 -0400 Subject: [PATCH] new file --- SoObjects/SOGo/GNUmakefile.preamble | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/SoObjects/SOGo/GNUmakefile.preamble b/SoObjects/SOGo/GNUmakefile.preamble index 9334ba495..59c36fac2 100644 --- a/SoObjects/SOGo/GNUmakefile.preamble +++ b/SoObjects/SOGo/GNUmakefile.preamble @@ -26,6 +26,14 @@ SOGo_LIBRARIES_DEPEND_UPON += \ -lNGLdap -lSBJson \ -lGDLContentStore -lcrypto -lgnustep-base -lobjc -ldl +ifeq ($(HAS_LIBRARY_gnutls),yes) +ADDITIONAL_CPPFLAGS += -DHAVE_GNUTLS=1 +SOGo_LIBRARIES_DEPEND_UPON += -lgnutls +else +ADDITIONAL_CPPFLAGS += -DHAVE_OPENSSL=1 +SOGo_LIBRARIES_DEPEND_UPON += -lcrypto +endif + ifeq ($(findstring openbsd, $(GNUSTEP_HOST_OS)), openbsd) SOGo_LIBRARIES_DEPEND_UPON += -lcrypto else