# HG changeset patch # User Timo Sirainen # Date 1486318947 -7200 # Node ID 7b0b2790d98800dcd49aa1f012118d3408c266ba # Parent d7227df3624d6666bb03e91e46f9434c0e90a574 lib-dcrypt: Don't link liblib.la to libdcrypt_openssl.so At best this does nothing, at worst (like with OSX) it duplicates the entire liblib and creates split state between the two instances. diff -r d7227df3624d -r 7b0b2790d988 src/lib-dcrypt/Makefile.am --- a/src/lib-dcrypt/Makefile.am Sun Feb 05 20:20:37 2017 +0200 +++ b/src/lib-dcrypt/Makefile.am Sun Feb 05 20:22:27 2017 +0200 @@ -22,9 +22,9 @@ if BUILD_DCRYPT_OPENSSL pkglib_LTLIBRARIES += libdcrypt_openssl.la libdcrypt_openssl_la_SOURCES = dcrypt-openssl.c -libdcrypt_openssl_la_LDFLAGS = -module -avoid-version -shared ../lib-ssl-iostream/libdovecot_openssl_common.la ../lib/liblib.la +libdcrypt_openssl_la_LDFLAGS = -module -avoid-version -shared ../lib-ssl-iostream/libdovecot_openssl_common.la libdcrypt_openssl_la_LIBADD = $(SSL_LIBS) -libdcrypt_openssl_la_DEPENDENCIES = ../lib-ssl-iostream/libdovecot_openssl_common.la ../lib/liblib.la +libdcrypt_openssl_la_DEPENDENCIES = ../lib-ssl-iostream/libdovecot_openssl_common.la libdcrypt_openssl_la_CFLAGS = $(AM_CPPFLAGS) \ $(SSL_CFLAGS) endif