diff --git a/SoObjects/SOGo/GNUmakefile.preamble b/SoObjects/SOGo/GNUmakefile.preamble index 7823443df..d35e9d3af 100644 --- a/SoObjects/SOGo/GNUmakefile.preamble +++ b/SoObjects/SOGo/GNUmakefile.preamble @@ -21,10 +21,16 @@ SOGo_LIBRARIES_DEPEND_UPON += \ -lNGCards \ -lNGMime \ -lNGStreams -lNGExtensions -lEOControl \ - -lXmlRpc -lDOM -lSaxObjC -lcrypt \ + -lXmlRpc -lDOM -lSaxObjC \ -lNGLdap -lSBJson \ -lGDLContentStore +ifeq ($(findstring openbsd, $(GNUSTEP_HOST_OS)), openbsd) +SOGo_LIBRARIES_DEPEND_UPON += -lcrypto +else +SOGo_LIBRARIES_DEPEND_UPON += -lcrypt +endif + ADDITIONAL_TOOL_LIBS += \ -L$(GNUSTEP_OBJ_DIR)/ \ -lSOGo \