We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
coder-vpn.dylib
1 parent b4daf36 commit 96f69b8Copy full SHA for 96f69b8
scripts/build_go.sh
@@ -144,10 +144,10 @@ fi
144
# We use ts_omit_aws here because on Linux it prevents Tailscale from importing
145
# github.com/aws/aws-sdk-go-v2/aws, which adds 7 MB to the binary.
146
TS_EXTRA_SMALL="ts_omit_aws,ts_omit_bird,ts_omit_tap,ts_omit_kube"
147
-if [[ "$slim" == 0 ]]; then
148
- build_args+=(-tags "embed,$TS_EXTRA_SMALL")
149
-else
+if [[ "$slim" == 1 || "$dylib" == 1 ]]; then
150
build_args+=(-tags "slim,$TS_EXTRA_SMALL")
+else
+ build_args+=(-tags "embed,$TS_EXTRA_SMALL")
151
fi
152
if [[ "$agpl" == 1 ]]; then
153
# We don't use a tag to control AGPL because we don't want code to depend on
0 commit comments