|
|
@@ -157,12 +157,16 @@ AutoReqProv: no
|
|
|
libtool
|
|
|
# do not reference static plugins
|
|
|
%{l_shtool} subst \
|
|
|
- -e 's;^\(#ifndef PIC\);#define PIC\n\1;' \
|
|
|
+ -e '58s;.*;#define PIC;' \
|
|
|
lib/dlopen.c
|
|
|
# do not pull static plugins into static library
|
|
|
%{l_shtool} subst \
|
|
|
-e '/^SASL_STATIC_OBJS/s;\.\./plugins/[^ ]* *;;g' \
|
|
|
lib/Makefile
|
|
|
+ # build utils against static library
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;\(\$(CCLD)\);\1 -static;' \
|
|
|
+ utils/Makefile
|
|
|
|
|
|
%{l_make} %{l_mflags}
|
|
|
cd saslauthd
|