Skip to content

Commit

Permalink
linking libstdc++ statically
Browse files Browse the repository at this point in the history
  • Loading branch information
unkmonster authored Jul 27, 2024
1 parent ba6e193 commit d523d79
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'


- name: G++
run: g++ -v

- name: Build
run: go build -o tmd2.exe -v .
run: go build -o tmd2.exe -v -ldflags "-linkmode external -extldflags -static" .

- name: Test
run: go test -v ./...
Expand Down

0 comments on commit d523d79

Please sign in to comment.