grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build fails due to wrong placement of -llibrary options


From: BVK Chaitanya
Subject: Re: Build fails due to wrong placement of -llibrary options
Date: Sat, 28 Aug 2010 19:05:01 +0530

On Sat, Aug 28, 2010 at 5:53 PM, Christian Franke
<address@hidden> 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.



thanks,
-- 
bvk.chaitanya

Attachment: ldadd.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]