7f757f4707
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/mod_security.git#da6a79489cec1693617ef3a1c4c100dad4794da5
15 lines
731 B
Diff
15 lines
731 B
Diff
|
|
Strip redundant APR-util dependent libraries, it is sufficient to link against -laprutil-1.
|
|
|
|
--- modsecurity-2.9.3/build/find_apu.m4.apulibs
|
|
+++ modsecurity-2.9.3/build/find_apu.m4
|
|
@@ -59,7 +59,7 @@
|
|
APU_CFLAGS="`${APU_CONFIG} --includes`"
|
|
if test "$verbose_output" -eq 1; then AC_MSG_NOTICE(apu CFLAGS: $APU_CFLAGS); fi
|
|
APU_LDFLAGS="`${APU_CONFIG} --ldflags`"
|
|
- APU_LDFLAGS="$APU_LDFLAGS `${APU_CONFIG} --libs`"
|
|
+ APU_LDFLAGS="$APU_LDFLAGS `${APU_CONFIG} --avoid-ldap --avoid-dbm --libs`"
|
|
if test "$verbose_output" -eq 1; then AC_MSG_NOTICE(apu LDFLAGS: $APU_LDFLAGS); fi
|
|
APU_LDADD="`${APU_CONFIG} --link-libtool`"
|
|
if test "$verbose_output" -eq 1; then AC_MSG_NOTICE(apu LDADD: $APU_LDADD); fi
|