Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Add support for cross compilation #39

Open
trobanga opened this issue Sep 26, 2020 · 2 comments · May be fixed by #73
Open

Add support for cross compilation #39

trobanga opened this issue Sep 26, 2020 · 2 comments · May be fixed by #73
Labels
enhancement New feature or request

Comments

@trobanga
Copy link

In order to cross compile to Android I had to adjust miniaudio-sys/build.rs by adding clang_arg("-Ipath/to/android/toolchain/.../sys-root/usr/include") to bindings and manually set ma_android = true as target_os is equal to the host system.

Are you planning on adding cross compilation support in the future?

@ExPixel
Copy link
Owner

ExPixel commented Sep 26, 2020

Sure, I don't see why not. I've been holding off on updates because there seem to be plans for a 1.0 version of miniaudio in the works so when that happens I'll incorporate your change as well :)

@ExPixel ExPixel added the enhancement New feature or request label Sep 26, 2020
@trobanga
Copy link
Author

Ok, great! I'll send you a working version for Android and iOS once I have it.

@kofigumbs kofigumbs linked a pull request Sep 13, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants