Subject: Re: bug#51440: [PATCH 00/10] Declarative static networking interface

From: Ludovic Courtès <[email-masked]>
Date: Fri, 29 Oct 2021 23:38:35 +0200

Hi,

Julien Lepiller <[email-masked]> skribis:

> Le Wed, 27 Oct 2021 16:02:39 +0200,
> Ludovic Courtès <[email-masked]> a écrit :

[...]

>> +                        ;; Pass '--target=TRIPLET' to 'guild
>> compile'.
>> +                        (substitute* "guile.am"
>> +                          (("\\$\\(GUILD\\) compile")
>> +                           (string-append "$(GUILD) compile
>> --target="

[...]

> Is there anything I can do as the author of guile-netlink to allow
> cross-compilation?

Yes, please!  Pass ‘--target=$(HOST)’ to ‘guild compile’.  See for
example how guile-zstd does it.

Thanks,
Ludo’.