--- common.mak.org	2012-10-08 21:46:12.701137958 +0200
+++ common.mak	2012-10-08 22:01:03.413149631 +0200
@@ -82,7 +82,7 @@
 FFLIBS    := $(FFLIBS-yes) $(FFLIBS)
 TESTPROGS += $(TESTPROGS-yes)
 
-LDLIBS       = $(FFLIBS:%=%$(BUILDSUF))
+LDLIBS       = $(FFLIBS:%=ADM6%$(BUILDSUF))
 FFEXTRALIBS := $(LDLIBS:%=$(LD_LIB)) $(EXTRALIBS)
 
 EXAMPLES  := $(EXAMPLES:%=$(SUBDIR)%-example$(EXESUF))
