mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-09 14:12:34 +01:00
🎨 Support HarmonyOS NEXT system https://github.com/siyuan-note/siyuan/issues/13184
This commit is contained in:
parent
8834cd39a5
commit
5de2ac66ff
3 changed files with 134 additions and 0 deletions
7
kernel/harmony/build.sh
Normal file
7
kernel/harmony/build.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
export CGO_ENABLED=1
|
||||
export GOOS=android
|
||||
export GOARCH=arm64
|
||||
export CC=/mnt/f/ohos-sdk-windows_linux-public/linux/native/llvm/bin/aarch64-unknown-linux-ohos-clang
|
||||
go build --tags fts5 -ldflags "-s -w" -buildmode=c-shared -v -o libkernel.so .
|
||||
Loading…
Add table
Add a link
Reference in a new issue