-
Notifications
You must be signed in to change notification settings - Fork 921
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
auth: try to find ldap libs in case pkconfig is missing (happens on debian11) #15086
base: master
Are you sure you want to change the base?
Conversation
with this change, what happens if the libraries really are not there? |
Good question, did not test that, will do. |
Setup does succeed, but compile fails.
and then
|
Edit: nevermind, I had not noticed you were building without the library. |
The setup run should have failed as I ran |
Pull Request Test Coverage Report for Build 12952588052Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
meson/ldap/meson.build
Outdated
@@ -21,7 +21,10 @@ if get_option('module-ldap') != 'disabled' | |||
endif | |||
endif | |||
endif | |||
|
|||
|
|||
if not dep_ldap_internal.found() |
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.
nice. I wonder whether required: true on line 9 (and maybe 17?) would be simpler, or perhaps I am missing something.
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 think the execution than bails out early and the alternative method does not get run
Short description
Checklist
I have: