mirror of
				https://github.com/bjdgyc/anylink.git
				synced 2025-11-04 11:06:22 +08:00 
			
		
		
		
	修复 alpine:3.19 下 iptables 不生效的问题
This commit is contained in:
		@@ -24,7 +24,8 @@ extldflags="-static"
 | 
			
		||||
ldflags="-s -w -X main.appVer=$appVer -X main.commitId=$commitId -X main.buildDate=$(date -Iseconds) \
 | 
			
		||||
  -extldflags \"$extldflags\" "
 | 
			
		||||
 | 
			
		||||
CGO_ENABLED=1 go build -o anylink -trimpath -ldflags "$ldflags"
 | 
			
		||||
export CGO_ENABLED=1
 | 
			
		||||
go build -o anylink -trimpath -ldflags "$ldflags"
 | 
			
		||||
 | 
			
		||||
ls -lh /server/
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user