-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Jar loading should also consider 32 and 64bit libraries (non-universal ones) for OSX #216
Comments
you'll be able to specify an absolute path, I suppose, but why not just make a universal binary? it's not like it's hard. On Apr 9, 2013, at 8:17 PM, zsawyer wrote:
|
So I have JNA take away the hassle of unpacking libraries and finding the right one myself - in this regard your suggestions sounds like a step back to me.
That is purely subjective ;). I don't have a mac so getting on one to recompile it is very troublesome aside from the problem of having no knowledge about universal libraries or osx. Looking at the code to me it would be easier to not do an exception for darwin and support both build variants. Thanks for considering. |
On Apr 9, 2013, at 10:30 PM, zsawyer wrote:
I'm just saying that if you have the capability of compiling the mac code in the first place, you have the capability of combining the two binaries into a single one. JNA builds for three darwin architectures and bundles them. lipo -create -outfile {dst} {x86} {x86_64} [{ppc}]
|
That is a perfectly valid point and thank you for the hint with However I was also thinking about situations where one would depend on 3rd party libraries and does not get - for what ever reason - a universal library. |
Addressed with 9740335. |
Motivation: At the moment we use http to download rpms, let's switch to https whenever possible Modifications: Use https for rpms Result: Hopefully more stable docker image builds
In my project I ship my libraries for various platforms, so I also compile for OSX. I do that for 32 and 64 bit. (https://github.com/zsawyer/mumble-LinkAPI/blob/master/ide/scripts/make_osx.sh)
I did not compile a fat/universal library.
The problem is that when loading the libs from a jar I can only create a "
darwin/libLibrary.dylib
". I would be missing theos.arch
variantsdarwin-x86/libLibrary.dylib
"darwin-x86-64/libLibrary.dylib
"Will there be support for non-universal dylibs for the jar-loading?
The text was updated successfully, but these errors were encountered: