-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 compilation failure in android #77
Conversation
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
Please, open different PRs if you want to modify several recipes |
@@ -96,8 +96,7 @@ def package_info(self): | |||
self.cpp_info.libs = ['libpng16'] | |||
else: | |||
self.cpp_info.libs = ["png16"] | |||
if self.settings.os == "Linux": | |||
self.cpp_info.libs.append("m") | |||
self.cpp_info.libs.append("m") |
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.
Probably is safer to keep the "IF" adding android, otherwise other NIX systems might suffer.
@@ -85,5 +85,7 @@ def package_info(self): | |||
self.cpp_info.libs = ['webpmux', 'webpdemux', 'webpdecoder', 'webp'] | |||
if self.options.shared and self.settings.os == "Windows" and self.settings.compiler != 'Visual Studio': | |||
self.cpp_info.libs = [lib + '.dll' for lib in self.cpp_info.libs] | |||
if self.settings.os == "Linux": | |||
self.cpp_info.libs.append("pthread") | |||
if self.settings.os != "Windows": |
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.
Same comment, limit changes to Android. It might have collateral issues for NIX systems.
Please do different PRs to change different libraries.
Thanks!
Thank you! I will open different PRs. |
Merge in changes from conan-io/master
Specify library name and version: lib/1.0
conan-center hook activated.