On May 3, 2016 9:50 AM, "Christopher Friedt" <[email protected]> wrote:
>
> On Tue, May 3, 2016 at 3:06 AM, Richard Henderson <[email protected]> wrote:
> > On 05/02/2016 03:10 PM, Christopher Friedt wrote:
> >>
> >>  %.a:
> >> +ifdef CONFIG_DARWIN
> >> +       $(call quiet-command,rm -f $@ && libtool -static -o $@ $^,"
> >> libtool    $(TARGET_DIR)$@")
> >> +else
> >>         $(call quiet-command,rm -f $@ && $(AR) rcs $@ $^,"  AR
> >> $(TARGET_DIR)$@")
> >> +endif
> >>
> >
> > Does it work to use libtool -static everywhere?

One possibility for future-proofing the link stage that applies to most
(all?) platforms that Qemu runs on would be to switch to libtool for all
arch's and just adjust the "libtool flags" as necessary.

Would require checking for libtool.

Fallback to ar?

©

Sent from my Android

Reply via email to