-
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
libxml2: fix FreeBSD #3953
libxml2: fix FreeBSD #3953
Conversation
Automatically created by bincrafters-conventions 0.30.1
I detected other pull requests that are modifying libxml2/all recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
All green in build 2 (
|
@@ -255,7 +255,7 @@ def package_info(self): | |||
self.output.info("Appending PATH environment variable: {}".format(bindir)) | |||
self.env_info.PATH.append(bindir) | |||
|
|||
if self.settings.os == "Linux" or self.settings.os == "Macos": | |||
if self.settings.os in ["Linux", "Macos", "FreeBSD"]: |
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.
Maybe just put it in else
block for a 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.
I"m not sure, but m
can also be used with mingw
.
So testing for Windows is not enough.
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.
That's correct. Mingw makes life harder.
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'm not sure either, it's usually better to be explicit in this case
Specify library name and version: libxml2/*
conan-center hook activated.