--- ffbuild/common.mak.orig	2021-10-24 22:47:11.000000000 +0200
+++ ffbuild/common.mak	2021-11-14 00:21:19.834422346 +0100
@@ -125,7 +125,7 @@
 FFLIBS    := $($(NAME)_FFLIBS) $(FFLIBS-yes) $(FFLIBS)
 TESTPROGS += $(TESTPROGS-yes)
 
-LDLIBS       = $(FFLIBS:%=%$(BUILDSUF))
+LDLIBS       = $(FFLIBS:%=ADM6%$(BUILDSUF))
 FFEXTRALIBS := $(LDLIBS:%=$(LD_LIB)) $(foreach lib,EXTRALIBS-$(NAME) $(FFLIBS:%=EXTRALIBS-%),$($(lib))) $(EXTRALIBS)
 
 OBJS      := $(sort $(OBJS:%=$(SUBDIR)%))
