This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/master by this push:
     new c6571b1  chore(release): disable dynamic linking in released artifacts
c6571b1 is described below

commit c6571b11900d83f1599e652c4745622b17511355
Author: nicolaferraro <ni.ferr...@gmail.com>
AuthorDate: Thu Apr 15 13:43:31 2021 +0200

    chore(release): disable dynamic linking in released artifacts
---
 script/cross_compile.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/script/cross_compile.sh b/script/cross_compile.sh
index 264384b..d201ab7 100755
--- a/script/cross_compile.sh
+++ b/script/cross_compile.sh
@@ -35,6 +35,7 @@ cross_compile () {
        local extension=""
        export GOOS=$2
        export GOARCH=$3
+       export CGO_ENABLED=0
 
        if [ "${GOOS}" == "windows" ]; then
                extension=".exe"

Reply via email to