mirror of
https://github.com/xor-gate/go-socks5-ssh-proxy
synced 2026-03-23 06:16:35 +01:00
Don't strip windows build or else pdb is not linked
This commit is contained in:
@ -26,7 +26,7 @@ builds:
|
||||
goarch:
|
||||
- amd64
|
||||
ldflags:
|
||||
- -s -w -H=windowsgui
|
||||
- -H=windowsgui
|
||||
buildmode: c-shared
|
||||
tags:
|
||||
- release
|
||||
|
||||
6
Makefile
6
Makefile
@ -18,8 +18,10 @@ socks5-ssh-proxy.release: resources $(SOURCES)
|
||||
GOOS=darwin GOARCH=amd64 $(GO_ENV_VARS) go build -tags release -o $@
|
||||
upx $@
|
||||
win: socks5-ssh-proxy.exe
|
||||
socks5-ssh-proxy.exe: resources $(GARBLE_BIN) $(SOURCES)
|
||||
GOOS=windows GOARCH=amd64 $(GARBLE_BIN) build -ldflags -H=windowsgui -tags release -o $@
|
||||
#socks5-ssh-proxy.exe: resources $(GARBLE_BIN) $(SOURCES)
|
||||
# GOOS=windows GOARCH=amd64 $(GARBLE_BIN) build -ldflags -H=windowsgui -tags release -o $@
|
||||
socks5-ssh-proxy.exe: resources $(SOURCES)
|
||||
GOOS=windows GOARCH=amd64 go build -ldflags -H=windowsgui -tags release -o $@
|
||||
dll: resources
|
||||
rm -Rf dist
|
||||
goreleaser build --snapshot
|
||||
|
||||
Reference in New Issue
Block a user