mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-09 11:39:46 +08:00
feat: build windows dll and call dll in flutter
This commit is contained in:
2
Makefile
2
Makefile
@@ -2,5 +2,5 @@
|
||||
|
||||
windows:
|
||||
@echo "Building for Windows..."
|
||||
go build -ldflags="-X polaris/db.Version=$(git describe --tags --long)" -buildmode=c-shared -o ui/windows/libpolaris.dll ./cmd/binding
|
||||
go build -tags c -ldflags="-X polaris/db.Version=$(git describe --tags --long)" -buildmode=c-shared -o ui/windows/libpolaris.dll ./cmd/binding
|
||||
cd ui && flutter build windows
|
||||
Reference in New Issue
Block a user