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

DLLSearchPathFixer on non-Windows platforms #11

Open
rpavlik opened this issue Feb 20, 2015 · 1 comment
Open

DLLSearchPathFixer on non-Windows platforms #11

rpavlik opened this issue Feb 20, 2015 · 1 comment

Comments

@rpavlik
Copy link
Member

rpavlik commented Feb 20, 2015

Not sure how Mono assemblies handle search paths to native shared libraries on non-Windows (handled already) and non-iOS (static linking mandated) platforms like Mac or Android, possibly something RPATH-like. If it can't be built into the library like RPATH can, we'll need a similar functionality as found in DLLSearchPathFixer.cs (whose behavior is directly inspired by as close as an official Unity statement as I could find on the matter) so that not just the directly p/invoke accessed shared libraries, but also their dependencies, can be loaded.

The alternative would be special monolithic (single native shared library) builds of OSVR ClientKit, which might be a bit of a pain to get into the build system but could make life easier.

See:

@rpavlik
Copy link
Member Author

rpavlik commented Jul 1, 2015

Doesn't appear to be affecting Android.

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

No branches or pull requests

1 participant