blob: 9274f70ba2a6c7dd88ff9fc83d40810d89f1c1c1 [file] [log] [blame]
--- cyrus-sasl-2.1.27/plugins/Makefile.am.orig 2018-01-31 10:41:15.840628900 +0300
+++ cyrus-sasl-2.1.27/plugins/Makefile.am 2018-01-31 10:41:35.009709100 +0300
@@ -49,7 +49,7 @@
# CURRENT:REVISION:AGE
plugin_version = 3:0:0
-AM_CPPFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/sasldb -I$(top_srcdir)/common -I$(top_builddir)/include
+AM_CPPFLAGS=-DLIBSASL_EXPORTS=1 -I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/sasldb -I$(top_srcdir)/common -I$(top_builddir)/include
AM_LDFLAGS = -module -export-dynamic -rpath $(plugindir) -version-info $(plugin_version) -no-undefined
if BUILD_LIBOBJ
--- cyrus-sasl-2.1.27/sasldb/Makefile.am.orig 2018-01-31 10:41:57.392403300 +0300
+++ cyrus-sasl-2.1.27/sasldb/Makefile.am 2018-01-31 10:42:05.300229200 +0300
@@ -44,7 +44,7 @@
# Note that this doesn't necessaraly follow the libsasl2 verison info
sasl_version = 1:25:0
-AM_CPPFLAGS=-fPIC -I$(top_srcdir)/include -I$(top_builddir)/include @SASL_DB_INC@
+AM_CPPFLAGS=-DLIBSASL_EXPORTS=1 -fPIC -I$(top_srcdir)/include -I$(top_builddir)/include @SASL_DB_INC@
extra_common_sources = db_none.c db_lmdb.c db_ndbm.c db_gdbm.c db_berkeley.c
--- cyrus-sasl-2.1.27/utils/Makefile.am.orig 2018-01-31 10:42:21.006694100 +0300
+++ cyrus-sasl-2.1.27/utils/Makefile.am 2018-01-31 10:42:52.234410200 +0300
@@ -89,7 +89,7 @@
libsfsasl2_la_LIBADD = sfsasl.lo
libsfsasl2_la_LDFLAGS = -version-info 1:0:0 -export-dynamic -rpath $(libdir)
-AM_CPPFLAGS=-I$(top_srcdir)/include -I$(top_builddir)/include @SASL_DB_INC@ -DPLUGINDIR='"${plugindir}"'
+AM_CPPFLAGS=-DLIBSASL_EXPORTS=1 -I$(top_srcdir)/include -I$(top_builddir)/include @SASL_DB_INC@ -DPLUGINDIR='"${plugindir}"'
EXTRA_DIST = saslpasswd2.8 sasldblistusers2.8 pluginviewer.8 sfsasl.h sfsasl.c smtptest.c testsuite.c pluginviewer.c NTMakefile