-
Notifications
You must be signed in to change notification settings - Fork 851
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
[build] Fix openssl static linking error #2369
[build] Fix openssl static linking error #2369
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
Both coverage decrease and the Travis CI build fail don't seem to make sense since changes in this PR doesn't change any code and any default behavior. Anyone can help to check it? |
@@ -17,7 +17,7 @@ done | |||
|
|||
cd $SRC_DIR | |||
./configure --use-enclib=$ENC_LIB \ | |||
--use-openssl-pc=OFF --OPENSSL_USE_STATIC_LIBS=TRUE \ |
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.
@sergeiignatov Could you please verify this change?
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.
Ok, merging as is. We can have a follow-up fix later if needed. At least Android CI build is passing.
Co-authored-by: Maxim Sharabayko <maxlovic@gmail.com>
Co-authored-by: Maxim Sharabayko <maxlovic@gmail.com>
Co-authored-by: Maxim Sharabayko <maxlovic@gmail.com>
Co-authored-by: Maxim Sharabayko <maxlovic@gmail.com>
@wangyoucao577 |
OPENSSL_USE_STATIC_LIBS
as an option to not only affects windows, but alsopkg-config
found openssl;--OPENSSL_USE_STATIC_LIBS=TRUE
in android script since it doesn't have any effects;PKG_CONFIG_PATH=<YOUR_STATIC_SSL_PKGCONFIG_PATH> cmake .. -DENABLE_STATIC=ON -DENABLE_SHARED=OFF -DUSE_OPENSSL_PC=ON -DOPENSSL_USE_STATIC_LIBS=ON
More analysis see #1172 (comment)
Closes #1172