Commit 315f3e76 authored by wei.xuan's avatar wei.xuan

fix:fix linux build

parent 3437292b
...@@ -9,7 +9,7 @@ releaseall: ...@@ -9,7 +9,7 @@ releaseall:
goreleaser build --rm-dist --snapshot goreleaser build --rm-dist --snapshot
sdk: sdk:
CGO_ENABLED=1 go build -trimpath -ldflags '-s -w --extldflags "-static -fpic"' --buildmode=c-shared -o libmajora.so lib/sdk.go CGO_ENABLED=1 go build -trimpath -ldflags '-s -w --extldflags "-fpic"' --buildmode=c-shared -o lib/libmajora_mac.so lib/sdk.go
clean: clean:
rm -fr dist rm -fr dist
......
...@@ -28,10 +28,11 @@ Usage of ./majora-cli: ...@@ -28,10 +28,11 @@ Usage of ./majora-cli:
``` ```
> 说明 > 说明
> -account 标识当前用户 默认是unknown
> -debugPort 可忽略 用于性能分析 - -account 标识当前用户 默认是unknown
> -natServer 指定natserver 默认是 majora.virjar.com:5879 - -debugPort 可忽略 用于性能分析
> -log 指定log level - -natServer 指定natserver 默认是 majora.virjar.com:5879
- -log 指定log level
# 各平台二进制 # 各平台二进制
......
File deleted
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment