diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-04 19:24:14 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-04 19:24:14 -0500 |
commit | 58643b228ee99f2c7575285d98d2330dd70c7e28 (patch) | |
tree | 641f19900830dd6a9c40ef0237e76c82f897d5fb /user/cyrus-sasl/cyrus-sasl-2.1.25-avoid_pic_overwrite.patch | |
parent | 81428a313f361f9befbee70a17f659752ad331c1 (diff) | |
download | packages-58643b228ee99f2c7575285d98d2330dd70c7e28.tar.gz packages-58643b228ee99f2c7575285d98d2330dd70c7e28.tar.bz2 packages-58643b228ee99f2c7575285d98d2330dd70c7e28.tar.xz packages-58643b228ee99f2c7575285d98d2330dd70c7e28.zip |
user/cyrus-sasl: pull in for openldap
Diffstat (limited to 'user/cyrus-sasl/cyrus-sasl-2.1.25-avoid_pic_overwrite.patch')
-rw-r--r-- | user/cyrus-sasl/cyrus-sasl-2.1.25-avoid_pic_overwrite.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/user/cyrus-sasl/cyrus-sasl-2.1.25-avoid_pic_overwrite.patch b/user/cyrus-sasl/cyrus-sasl-2.1.25-avoid_pic_overwrite.patch new file mode 100644 index 000000000..2e5b1750d --- /dev/null +++ b/user/cyrus-sasl/cyrus-sasl-2.1.25-avoid_pic_overwrite.patch @@ -0,0 +1,27 @@ +Author: Fabian Fagerholm <fabbe@debian.org> +Description: This patch makes sure the non-PIC version of libsasldb.a, which +is created out of non-PIC objects, is not going to overwrite the PIC version, +which is created out of PIC objects. The PIC version is placed in .libs, and +the non-PIC version in the current directory. This ensures that both non-PIC +and PIC versions are available in the correct locations. +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -78,7 +78,7 @@ endif + + libsasl2.a: libsasl2.la $(SASL_STATIC_OBJS) + @echo adding static plugins and dependencies +- $(AR) cru .libs/$@ $(SASL_STATIC_OBJS) ++ $(AR) cru $@ $(SASL_STATIC_OBJS) + @for i in ./libsasl2.la ../sasldb/libsasldb.la ../plugins/lib*.la; do \ + if test ! -f $$i; then continue; fi; . $$i; \ + for j in $$dependency_libs foo; do \ +--- a/sasldb/Makefile.am ++++ b/sasldb/Makefile.am +@@ -63,6 +63,6 @@ libsasldb_a_SOURCES = + EXTRA_libsasldb_a_SOURCES = + + libsasldb.a: libsasldb.la $(SASL_DB_BACKEND_STATIC) +- $(AR) cru .libs/$@ $(SASL_DB_BACKEND_STATIC) ++ $(AR) cru $@ $(SASL_DB_BACKEND_STATIC) + + |