Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few changes to build as dynamic lib and support 64bit better #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jeremyfa
Copy link

I have been using a fork of openal-android for a while because I needed to make a few changes in it:

  • Be able to build openal as a dynamic library which is not merged with the rest of the app binary and improve compliance with LGPL license. The library can still be linked statically with -D static_link like before. I have been using openal without issues this way (as a linc_library, but libopenal.so linked separately) for many months now, so I consider it working.

  • Patch configuration (include/config.h) when targeting arm64 and x86_64 because previous configuration was expected to work only on 32bit targets (so far, even though it seems that this implementation of openal was not optimized for 64bit, it does seem to work fine in my tests with the config change). Didn't test on x86_64 yet, but result should be similar to arm64.

These changes could be useful for everyone, so here is my PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant