You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2021/04/15 13:19:42 UTC

[camel-k] branch master updated: chore(release): disable dynamic linking in released artifacts

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...@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"