You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@
4
4
5
5
This library allows you to setup and build an APK for your Android devices. This project was mostly based off the work of [ikskuh](https://github.com/ikskuh) and wouldn't exist without the work they did on the [ZigAndroidTemplate](https://github.com/ikskuh/ZigAndroidTemplate) project.
6
6
7
-
8
7
```sh
9
8
# Target one Android architecture
10
9
zig build -Dtarget=x86_64-linux-android
@@ -63,6 +62,10 @@ Add the following to your build.zig.zon file and run `zig build`.
63
62
*[minimal](examples/minimal): This is based off ZigAndroidTemplate's minimal example.
64
63
*[SDL2](examples/sdl2): This is based off Andrew Kelly's SDL Zig Demo but modified to run on Android, Windows, Mac and Linux.
65
64
65
+
## Workarounds
66
+
67
+
- Patch any artifacts that called `linkLibCpp()` to disable linking C++ and instead manually link `c++abi` and `unwind`. This at least allows the SDL2 example to work for now.
68
+
66
69
## Credits
67
70
68
71
-[ikskuh](https://github.com/ikskuh) This would not exist without their [ZigAndroidTemplate](https://github.com/ikskuh/ZigAndroidTemplate) repository to use as a baseline for figuring this all out and also being able to use their logic for the custom panic / logging functions.
0 commit comments