-
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
paho-mqtt-c: remove anl library from system libs #17442
Conversation
This comment has been minimized.
This comment has been minimized.
9eec16a
to
86c4fbe
Compare
This comment has been minimized.
This comment has been minimized.
Remove anl library from default system libraries if on Linux because it is not available on non-glibc distros like Alpine.
86c4fbe
to
e5df029
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@SpaceIm You added anl in https://github.com/conan-io/conan-center-index/pull/17088/files#diff-cefdb38dd5cec800413f548cb236f4f8cb7fd28165ef036164d59b456553cbd4R121 do you happen to recall why? |
Because it was reported by hooks: #17088 (comment) See also https://github.com/eclipse/paho.mqtt.c/blob/7db21329301b1f527c925dff789442db3ca3c1e7/src/CMakeLists.txt#L67-L70, but yes it's optional. There is not enough granularity in conan profiles to predict if anl is required as a system libs or not. |
Cheers! Thanks for helping :) |
@prince-chrismc @franramirez688 @jcar87 Any news with this PR? That's quite old right now. |
Conan v1 pipeline ✔️All green in build 3 (
Conan v2 pipeline ✔️
All green in build 3 (
|
It's possible to customize the settings, adding distro: https://docs.conan.io/2/reference/config_files/settings.html#adding-new-settings It could be used for this case, having a condition to not add |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions. |
Remove
anl
library from default system libraries if on Linux because it is not available on non-glibc distros like Alpine. This will fix building your apps on e.g. Alpine that link withpaho-mqtt-c
library. We might use some logic to determine ifanl
is available like the upstream project does.Specify library name and version: paho-mqtt-c/1.3.12