|
|
@@ -149,16 +149,16 @@ Conflicts: sendmail, ssmtp, exim
|
|
|
CCARGS="$CCARGS -DHAS_MYSQL -I%{l_prefix}/include/mysql"
|
|
|
AUXLIBS="$AUXLIBS -L%{l_prefix}/lib/mysql -lmysqlclient -lz -lm"
|
|
|
%endif
|
|
|
-%if "%{with_tls}" == "yes"
|
|
|
- CCARGS="$CCARGS -DHAS_SSL"
|
|
|
- AUXLIBS="$AUXLIBS -lssl -lcrypto"
|
|
|
-%endif
|
|
|
%if "%{with_sasl}" == "yes"
|
|
|
CCARGS="$CCARGS -DUSE_SASL_AUTH -I%{l_prefix}/include/sasl"
|
|
|
AUXLIBS="$AUXLIBS -lsasl2"
|
|
|
if [ -f /usr/lib/libdl.so -o -f /usr/lib/libdl.a ]; then
|
|
|
AUXLIBS="$AUXLIBS -ldl"
|
|
|
fi
|
|
|
+%endif
|
|
|
+%if "%{with_tls}" == "yes"
|
|
|
+ CCARGS="$CCARGS -DHAS_SSL"
|
|
|
+ AUXLIBS="$AUXLIBS -lssl -lcrypto"
|
|
|
%endif
|
|
|
AUXLIBS="$AUXLIBS `%{l_prefix}/bin/fsl-config --all --ldflags --libs`"
|
|
|
%{l_make} %{l_mflags} makefiles \
|