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

openssl to osxcross #44

Open
DeadNumbers opened this issue Dec 14, 2017 · 1 comment
Open

openssl to osxcross #44

DeadNumbers opened this issue Dec 14, 2017 · 1 comment

Comments

@DeadNumbers
Copy link

Hi! Can you add openssl to osxcross package?

@Martchus
Copy link
Owner

Martchus commented Dec 14, 2017

You mean apple-darwin-osxcross? I would prefer adding it as an additional package, eg. apple-darwin-openssl.


Note that the SDK bundled with apple-darwin-osxcross also includes "tbd" files for libssl and libcrypto. I am not familiar with MacOS, but I suppose that means those libs are available on MacOS by default so you can just use the system libs if they are current enough.

Further note that Qt does not require OpenSSL under MacOS because it can use the native MacOS crypto framework. (Just in case you want it for Qt.)


But most importantly, the apple-darwin-osxcross package is not really working at the moment. Stuff compiles (even Qt!) but people tell me the resulting applications do not run as expected (crash, etc.). When I have more time in a few months, I would give it another shot with the following adjustments:

  • "package" the SDK correctly, so that all libc++ header files are present.
  • Use libc++ rather than libstdc++.

After that, and positive feedback about the resulting applications I might think about extending the apple-darwin-* packages.


I'll assign myself to this ticket as soon as I'll continue working on apple-darwin-* packages in a few month. Of course anybody is welcome to improve the mentioned points or experiment with cross compiling further libraries such as OpenSSL.

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

2 participants