On Sat, Aug 28, 2010 at 5:53 PM, Christian Franke
<...> wrote:
$ grep ^grub_bin2h_LD Makefile
grub_bin2h_LDADD = libgrub.a
grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) $(LIBINTL)
$(LIBDEVMAPPER)
The above should be:
grub_bin2h_LDADD = libgrub.a $(LIBINTL) $(LIBDEVMAPPER)
grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
Same for all other utils. This likely needs to be fixed in gentpl.py.
It is not necessary to modify gentpl.py, fixing in Makefile.util.def
should be sufficient. Attached patch fixes all these AFAICS.