Skip to content

Commit

Permalink
removed Windows from release build add ldl flag to amd64 linux (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
pimg authored Jul 22, 2024
1 parent 46e914d commit 5f63713
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
crl-inspector
cg
.idea
certguard
certguard
.release-env
dist
15 changes: 1 addition & 14 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ builds:
flags:
- -trimpath
ldflags:
- -extldflags "-lc -lrt -lpthread --static"
- -extldflags "-lc -lrt -lpthread --static -ldl"
- id: cg-linux-arm64
binary: cg
main: ./
Expand All @@ -63,19 +63,6 @@ builds:
- -trimpath
ldflags:
- -extldflags "-lc -lrt -lpthread --static -ldl"
- id: cg-windows-amd64
binary: cg
main: ./
goarch:
- amd64
goos:
- windows
env:
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
flags:
- -trimpath
- -buildmode=exe

universal_binaries:
- id: cg-darwin-universal
Expand Down

0 comments on commit 5f63713

Please sign in to comment.