File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,24 @@ Now all targets can be handled in a single script.
55
66If you deal with this kind of stuff frequently and know a better way, please contribute.
77
8- This assumes you're mostly working from a Mac.
8+ This assumes you're working from a Mac.
99
10- Install mingw64 build tools for targeting Windows from a Mac
10+ Install mingw64 and android-ndk build tools for targeting Windows from a Mac
1111
1212` brew bundle install `
1313
14+ ` export NDK="/opt/homebrew/share/android-ndk" `
15+
16+ If you already use and license docker desktop, great the docker process will likely work as-is.
17+ I switched to using colima w/docker-cli. This setup will work using that approach.
18+
19+ ``` bash
20+ brew install docker
21+ brew install colima
22+ colima start --vm-type=vz --vz-rosetta # use macos built-in virtualization
23+ docker run --privileged --rm tonistiigi/binfmt --install all # this will install all available platforms
24+ # Ready to build now and should have all necessary platforms available for docker
25+ ```
26+
1427Docker has been used to deal with the various linux targets and the script assumes
1528you have a version of docker that supports multi-platform runs with --platform.
You can’t perform that action at this time.
0 commit comments