From a695eb650e4aa7abab0198486c00a6ad1e8fc048 Mon Sep 17 00:00:00 2001 From: tfrench Date: Tue, 26 Sep 2023 18:53:10 +0000 Subject: [PATCH] fix linkmode bug --- go/private/mode.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/private/mode.bzl b/go/private/mode.bzl index e18964394e..035c62c5e1 100644 --- a/go/private/mode.bzl +++ b/go/private/mode.bzl @@ -29,7 +29,7 @@ LINKMODE_C_ARCHIVE = "c-archive" LINKMODES = [LINKMODE_NORMAL, LINKMODE_PLUGIN, LINKMODE_C_SHARED, LINKMODE_C_ARCHIVE, LINKMODE_PIE] # All link modes that produce executables to be run with bazel run. -LINKMODES_EXECUTABLE = [LINKMODE_NORMAL, LINKMODE_PIE] +LINKMODES_EXECUTABLE = [LINKMODE_NORMAL, LINKMODE_PIE, LINKMODE_C_SHARED] # All link modes that require external linking and thus a cgo context. LINKMODES_REQUIRING_EXTERNAL_LINKING = [