]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-dcrypt: Install dcrypt_openssl.so into dovecot modules directory
authorAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 4 Mar 2025 09:41:24 +0000 (11:41 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 5 Mar 2025 07:59:04 +0000 (07:59 +0000)
src/lib-dcrypt/Makefile.am

index e7016aeb760e2f37d184781bf32b97af35f4afee..d9343e6b62b9b6d46f48d2c98b0bb0fde4e7c2c6 100644 (file)
@@ -1,5 +1,5 @@
 noinst_LTLIBRARIES = libdcrypt.la libdcrypt_openssl_static.la
-pkglib_LTLIBRARIES =
+module_LTLIBRARIES =
 
 NOPLUGIN_LDFLAGS=
 
@@ -8,15 +8,14 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/lib-test \
        -I$(top_srcdir)/src/lib-json \
        -I$(top_srcdir)/src/lib-ssl-iostream \
-       -DDCRYPT_MODULE_DIR=\"$(pkglibdir)\"
+       -DDCRYPT_MODULE_DIR=\"$(moduledir)\"
 
 libdcrypt_la_SOURCES = \
        dcrypt.c \
        istream-decrypt.c \
        ostream-encrypt.c
 
-libdcrypt_la_CFLAGS = $(AM_CPPFLAGS) \
-       -DDCRYPT_MODULE_DIR=\"$(pkglibdir)\"
+libdcrypt_la_CFLAGS = $(AM_CPPFLAGS)
 
 libdcrypt_openssl_static_la_SOURCES = dcrypt-openssl1.c dcrypt-openssl3.c
 libdcrypt_openssl_static_la_LDFLAGS = ../lib-ssl-iostream/libssl_iostream_openssl.la
@@ -25,7 +24,7 @@ libdcrypt_openssl_static_la_DEPENDENCIES = ../lib-ssl-iostream/libssl_iostream_o
 libdcrypt_openssl_static_la_CFLAGS = $(AM_CPPFLAGS) \
        $(SSL_CFLAGS)
 
-pkglib_LTLIBRARIES += libdcrypt_openssl.la
+module_LTLIBRARIES += libdcrypt_openssl.la
 
 libdcrypt_openssl_la_SOURCES = dcrypt-openssl1.c dcrypt-openssl3.c
 libdcrypt_openssl_la_LDFLAGS = -module -avoid-version ../lib-ssl-iostream/libssl_iostream_openssl.la