Skip to content

Commit

Permalink
attempt staticly linking
Browse files Browse the repository at this point in the history
  • Loading branch information
akhanin-dnsf committed Aug 19, 2024
1 parent b26610a commit 7f1b5d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
sudo apt-get install libpcap-dev
- name: Build
run: CGO_ENABLED=1 go build -o sherlock -v ./...
run: make build
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
build:
CGO_ENABLED=1 go build -o sherlock main.go
CGO_ENABLED=1 go build -ldflags="-extldflags=-static" -o sherlock main.go

clean:
rm -f *.bin *.json
Expand Down

0 comments on commit 7f1b5d9

Please sign in to comment.