]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-dcrypt: Don't link liblib.la to libdcrypt_openssl.so
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 5 Feb 2017 18:22:27 +0000 (20:22 +0200)
committerGitLab <gitlab@git.dovecot.net>
Mon, 6 Feb 2017 08:16:49 +0000 (10:16 +0200)
At best this does nothing, at worst (like with OSX) it duplicates the
entire liblib and creates split state between the two instances.

src/lib-dcrypt/Makefile.am

index f9c7c2af268ec0cbf12665208a46b00af9cf2e7d..1dbdea02bb4a9435bf311bc4e4327a440d5d40bf 100644 (file)
@@ -20,9 +20,9 @@ libdcrypt_la_CFLAGS = $(AM_CPPFLAGS) \
 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