Skip to content

Commit bda25fa

Browse files
committed
enable static build (macos still requires it)
there are no more dependencies required we can do this fyne-io/systray#24 (comment)
1 parent 9114f62 commit bda25fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
run:
4040
shell: bash
4141

42+
# by default disable CGO, it's not needed (except on macos)
43+
env:
44+
CGO_ENABLED: 0
45+
4246
runs-on: ${{ matrix.os }}
4347

4448
steps:
@@ -105,6 +109,7 @@ jobs:
105109

106110
- name: Build the Agent for macos
107111
env:
112+
CGO_ENABLED: 1
108113
MACOSX_DEPLOYMENT_TARGET: 10.11 # minimum supported version for mac
109114
CGO_CFLAGS: -mmacosx-version-min=10.11
110115
CGO_LDFLAGS: -mmacosx-version-min=10.11

0 commit comments

Comments
 (0)