commit - 1ef7c68a194549db7b9f945ef5910cb5394d4cc6
commit + 943e9ed21cb1949f950a6f921d59b438cb759ae2
blob - 9b8bcf405ff91d64b71e3904821a73c4085cb23f
blob + 66a5f987364d3134eda0122154ca04ee9767dcc8
--- configure.ac
+++ configure.ac
AC_SUBST(AM_LDFLAGS)
LDFLAGS="$SAVED_LDFLAGS"
-if test x"$PLATFORM" = "xopenbsd"; then
- LIBS=""
-fi
+# LIBS is designed to accumulate library dependencies as checks for them are
+# peformed, so that this can be included directly to ld(1).
+#
+# However, this hinders the splitting up of the library dependencies so that
+# they're targetted just where they're needed. Flatting LIBS here ensures
+# that this happens appropriately.
+LIBS=""
AH_BOTTOM([#include "got_compat2.h"])