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

Fix compilation failure in android #77

Closed
wants to merge 1 commit into from

Conversation

akemimadoka
Copy link
Contributor

Specify library name and version: lib/1.0

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@CLAassistant
Copy link

CLAassistant commented Sep 24, 2019

CLA assistant check
All committers have signed the CLA.

@conan-center-bot
Copy link
Collaborator

Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue.

@lasote
Copy link
Contributor

lasote commented Sep 24, 2019

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")
Copy link
Contributor

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":
Copy link
Contributor

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!

@akemimadoka
Copy link
Contributor Author

Thank you! I will open different PRs.

artem-kamyshev pushed a commit to artem-kamyshev/conan-center-index that referenced this pull request Sep 28, 2020
datalogics-robb added a commit to datalogics-robb/conan-center-index that referenced this pull request Sep 3, 2024
Merge in changes from conan-io/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants