Skip to content

Commit

Permalink
Update pcap build script #5
Browse files Browse the repository at this point in the history
  • Loading branch information
vokomarov committed Mar 8, 2020
1 parent 9b70781 commit 6fd7d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ script:
- cd ..

- CGO_ENABLED=1 GOARCH=amd64 GOOS=linux CGO_LDFLAGS+="-L./libpcap-$PCAPV" go build -ldflags="-s -w" -o out/netshark_linux_x86-64 .
- CGO_ENABLED=1 GOARCH=amd64 GOOS=darwin CGO_LDFLAGS+="-L./libpcap-$PCAPV" go build -ldflags="-s -w" -o out/netshark_osx .
# - CGO_ENABLED=1 GOARCH=amd64 GOOS=darwin go build --ldflags "-L ./libpcap-$PCAPV -linkmode external -extldflags \"-static\"" -a -o out/netshark_osx .
# - CGO_ENABLED=1 GOARCH=amd64 GOOS=darwin CGO_LDFLAGS+="-L./libpcap-$PCAPV" go build -ldflags="-s -w" -o out/netshark_osx .
- CGO_ENABLED=0 GOARCH=amd64 GOOS=darwin go build --ldflags "-L ./libpcap-$PCAPV -linkmode external -extldflags \"-static\"" -a -o out/netshark_osx .

- GOARCH=386 GOOS=windows go build -o out/netshark_win32.exe .
- GOARCH=amd64 GOOS=windows go build -o out/netshark_win64.exe .
Expand Down

0 comments on commit 6fd7d9e

Please sign in to comment.