Lgtm On Tue, Apr 6, 2021 at 6:08 AM Peter Morrow <[email protected]> wrote:
> mingw32/mingw64 is not a supported value for GOOS, so map from 'mingw*' to > 'windows' to enable building for windows targets. > > Signed-off-by: Peter Morrow <[email protected]> > --- > meta/classes/goarch.bbclass | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass > index 1099b95..ecd3044 100644 > --- a/meta/classes/goarch.bbclass > +++ b/meta/classes/goarch.bbclass > @@ -114,6 +114,8 @@ def go_map_mips(a, f, d): > def go_map_os(o, d): > if o.startswith('linux'): > return 'linux' > + elif o.startswith('mingw'): > + return 'windows' > return o > > > -- > 1.8.3.1 > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#150253): https://lists.openembedded.org/g/openembedded-core/message/150253 Mute This Topic: https://lists.openembedded.org/mt/81888702/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
