72 lines
2.8 KiB
Diff
72 lines
2.8 KiB
Diff
http://bugs.gentoo.org/152544
|
|
|
|
--- cyrus-sasl-2.1.22/lib/Makefile.am
|
|
+++ cyrus-sasl-2.1.22/lib/Makefile.am
|
|
@@ -45,6 +45,7 @@ sasl_version = 2:22:0
|
|
|
|
INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/plugins -I$(top_builddir)/include -I$(top_srcdir)/sasldb
|
|
|
|
+AM_CFLAGS = -fPIC
|
|
EXTRA_DIST = windlopen.c staticopen.h NTMakefile
|
|
EXTRA_LIBRARIES = libsasl2.a
|
|
noinst_LIBRARIES = @SASL_STATIC_LIBS@
|
|
--- cyrus-sasl-2.1.22/plugins/Makefile.am
|
|
+++ cyrus-sasl-2.1.22/plugins/Makefile.am
|
|
@@ -63,6 +63,7 @@ srp_version = 2:22:0
|
|
|
|
INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/sasldb -I$(top_builddir)/include
|
|
AM_LDFLAGS = -module -export-dynamic -rpath $(plugindir)
|
|
+AM_CFLAGS = -fPIC
|
|
|
|
COMPAT_OBJS = @LTGETADDRINFOOBJS@ @LTGETNAMEINFOOBJS@ @LTSNPRINTFOBJS@
|
|
|
|
--- cyrus-sasl-2.1.22/sasldb/Makefile.am
|
|
+++ cyrus-sasl-2.1.22/sasldb/Makefile.am
|
|
@@ -48,6 +48,7 @@ INCLUDES=-I$(top_srcdir)/include -I$(top
|
|
|
|
extra_common_sources = db_none.c db_ndbm.c db_gdbm.c db_berkeley.c
|
|
|
|
+AM_CFLAGS = -fPIC
|
|
EXTRA_DIST = NTMakefile
|
|
|
|
noinst_LTLIBRARIES = libsasldb.la
|
|
--- cyrus-sasl-2.1.22/utils/Makefile.am
|
|
+++ cyrus-sasl-2.1.22/utils/Makefile.am
|
|
@@ -42,7 +42,7 @@
|
|
#
|
|
################################################################
|
|
|
|
-all_sasl_libs = ../lib/libsasl2.la $(SASL_DB_LIB) $(LIB_SOCKET)
|
|
+all_sasl_libs = ../lib/libsasl2.la $(SASL_DB_LIB) $(LIB_SOCKET) $(LIB_CRYPT)
|
|
all_sasl_static_libs = ../lib/.libs/libsasl2.a $(SASL_DB_LIB) $(LIB_SOCKET) $(GSSAPIBASE_LIBS) $(GSSAPI_LIBS) $(SASL_KRB_LIB) $(LIB_DES) $(PLAIN_LIBS) $(SRP_LIBS) $(LIB_MYSQL) $(LIB_PGSQL) $(LIB_SQLITE)
|
|
|
|
sbin_PROGRAMS = @SASL_DB_UTILS@ @SMTPTEST_PROGRAM@ pluginviewer
|
|
--- cyrus-sasl-2.1.22/sample/Makefile.am
|
|
+++ cyrus-sasl-2.1.22/sample/Makefile.am
|
|
@@ -54,10 +54,10 @@ sample_server_SOURCES = sample-server.c
|
|
server_SOURCES = server.c common.c common.h
|
|
client_SOURCES = client.c common.c common.h
|
|
|
|
-server_LDADD = ../lib/libsasl2.la $(LIB_SOCKET)
|
|
-client_LDADD = ../lib/libsasl2.la $(LIB_SOCKET)
|
|
+server_LDADD = ../lib/libsasl2.la $(LIB_SOCKET) $(LIB_CRYPT)
|
|
+client_LDADD = ../lib/libsasl2.la $(LIB_SOCKET) $(LIB_CRYPT)
|
|
|
|
-sample_client_LDADD = ../lib/libsasl2.la $(LIB_SOCKET)
|
|
-sample_server_LDADD = ../lib/libsasl2.la $(LIB_SOCKET)
|
|
+sample_client_LDADD = ../lib/libsasl2.la $(LIB_SOCKET) $(LIB_CRYPT)
|
|
+sample_server_LDADD = ../lib/libsasl2.la $(LIB_SOCKET) $(LIB_CRYPT)
|
|
|
|
EXTRA_DIST = NTMakefile
|
|
--- cyrus-sasl-2.1.22/lib/Makefile.am
|
|
+++ cyrus-sasl-2.1.22/lib/Makefile.am
|
|
@@ -63,7 +63,7 @@ lib_LTLIBRARIES = libsasl2.la
|
|
libsasl2_la_SOURCES = $(common_sources) $(common_headers)
|
|
libsasl2_la_LDFLAGS = -version-info $(sasl_version)
|
|
libsasl2_la_DEPENDENCIES = $(LTLIBOBJS)
|
|
-libsasl2_la_LIBADD = $(LTLIBOBJS) $(SASL_DL_LIB) $(LIB_SOCKET) $(LIB_DOOR)
|
|
+libsasl2_la_LIBADD = $(LTLIBOBJS) $(SASL_DL_LIB) $(LIB_SOCKET) $(LIB_DOOR) $(LIB_CRYPT)
|
|
|
|
if MACOSX
|
|
framedir = /Library/Frameworks/SASL2.framework
|