File aide-0.18-as-needed.patch of Package aide
Index: aide-0.19/Makefile.am
===================================================================
--- aide-0.19.orig/Makefile.am
+++ aide-0.19/Makefile.am
@@ -81,6 +81,7 @@ aide_CFLAGS = @AIDE_DEFS@ -I$(top_srcdir
${XATTR_CFLAGS} \
${ZLIB_CFLAGS}
aide_LDADD = -lm \
+ ${LDFLAGS} \
${AUDIT_LIBS} \
${CAPABILITIES_LIBS} \
${CURL_LIBS} \