BIND9 seems to be abusing LDFLAGS here, and it breaks our linker. --- bin/tests/system/dlzexternal/Makefile.in.orig 2022-01-12 13:50:10 UTC +++ bin/tests/system/dlzexternal/Makefile.in @@ -37,7 +37,7 @@ OBJS = @BIND9_MAKE_RULES@ CFLAGS = @CFLAGS@ @SO_CFLAGS@ -SO_LDFLAGS = @LDFLAGS@ @SO_LDFLAGS@ +SO_LDFLAGS = @SO_LDFLAGS@ driver.@SO@: ${SO_OBJS} ${LIBTOOL_MODE_LINK} @SO_LD@ ${SO_LDFLAGS} -o $@ driver.@O@