-
Notifications
You must be signed in to change notification settings - Fork 3
Fix openssl include path directory #271
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
Fix openssl include path directory #271
Conversation
|
This makes sense with new versions of meson, but what errors are you getting with openssl? |
|
This makes compilations to break for me: Is it expected? |
Oh, I see, could you try removing that extra |
The include files are not found. |
Could you check if is this same issue? |
When using prebuilt packages, the library are stored inside the '/lib' subdirectory.
Yeah, the problem is that I use a prebuilt version of OpenSSL, where the lib files are inside a |
Coquinho
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it works :D
joaoantoniocardoso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I just tested and found no issues here with this mod.
| if (get_option('openssl_dir') != '') | ||
| crypto = declare_dependency( | ||
| link_args: ['-L' + get_option('openssl_dir'), '-llibssl_static', '-llibcrypto_static'], | ||
| link_args: ['-L' + get_option('openssl_dir'), '-L' + get_option('openssl_dir') + '/lib', '-llibssl_static', '-llibcrypto_static'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be get_option('openssl_dir') / 'lib', but...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It feels like the CI has a version of meson that doesn't support the syntax.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows CI version is always the updated from PyPI (0.54.3), so it should support. Didn't check Travis, tho
No description provided.