gensio: Fix build on build host with Go compiler
authorJeffery To <jeffery.to@gmail.com>
Fri, 19 May 2023 12:03:43 +0000 (20:03 +0800)
committerJeffery To <jeffery.to@gmail.com>
Fri, 19 May 2023 12:03:43 +0000 (20:03 +0800)
If the build host has the Go compiler installed, then configure will
detect this and will try to compile gensio's Go support, leading to a
build failure.

This disables Go support entirely to fix this build failure.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
net/gensio/Makefile

index c49da8e13fd565f5fc0c8bb02e217bb24cbfa056..b193a049259444cbd21cfedd9f05d4d72937bd92 100644 (file)
@@ -45,6 +45,7 @@ CONFIGURE_ARGS += \
        --$(if $(CONFIG_GENSIO_PTHREADS),with,without)-pthreads \
        --$(if $(CONFIG_GENSIO_GLIB),with,without)-glib \
        --$(if $(CONFIG_GENSIO_TCL),with,without)-tcl \
+       --without-go \
        --without-openipmi \
        --with-cplusplus \
        --disable-doc