Skip to content

Commit

Permalink
lib-dcrypt: Don't link liblib.la to libdcrypt_openssl.so
Browse files Browse the repository at this point in the history
At best this does nothing, at worst (like with OSX) it duplicates the
entire liblib and creates split state between the two instances.
  • Loading branch information
sirainen committed Feb 6, 2017
1 parent 9483ccd commit 25bc04e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib-dcrypt/Makefile.am
Expand Up @@ -22,9 +22,9 @@ libdcrypt_la_LDFLAGS = -export-dynamic
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
Expand Down

0 comments on commit 25bc04e

Please sign in to comment.