To be notified of occurrences where we are missing any libraries, run
some ldd checks post building.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
.PHONY: all install clean distclean FORCE
-all: ${targets}
+all: ${targets} check
+
+check: ${targets}
+ @echo " CHECK unknown symbols in .so files"; \
+ . ../iptables/libxtables.la; \
+ for i in "" lib*.so; do \
+ [ -z "$$i" ] && continue; \
+ LD_PRELOAD="$$dlname" LD_LIBRARY_PATH=../iptables/.libs \
+ ldd -r $$i 2>&1 >/dev/null; \
+ done;
install: ${targets_install}
@mkdir -p "${DESTDIR}${xtlibdir}";