cyrus-sasl-2.1.27-avoid_pic_overwrite.patch (866B)
1 Author: Fabian Fagerholm <fabbe@debian.org> 2 Description: This patch makes sure the non-PIC version of libsasldb.a, which 3 is created out of non-PIC objects, is not going to overwrite the PIC version, 4 which is created out of PIC objects. The PIC version is placed in .libs, and 5 the non-PIC version in the current directory. This ensures that both non-PIC 6 and PIC versions are available in the correct locations. 7 --- cyrus-sasl-2.1.27/lib/Makefile.am 8 +++ cyrus-sasl-2.1.27/lib/Makefile.am 9 @@ -98,7 +98,7 @@ 10 11 libsasl2.a: libsasl2.la $(SASL_STATIC_OBJS) 12 @echo adding static plugins and dependencies 13 - $(AR) cru .libs/$@ $(SASL_STATIC_OBJS) 14 + $(AR) cru $@ $(SASL_STATIC_OBJS) 15 @for i in ./libsasl2.la ../common/libplugin_common.la ../sasldb/libsasldb.la ../plugins/lib*.la; do \ 16 if test ! -f $$i; then continue; fi; . $$i; \ 17 for j in $$dependency_libs foo; do \