Skip to content

global: More fixes for compiling without LDAP #246

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

flyn-org
Copy link

I discovered that Dovecot 2.4.0 would not build without ldap.h while trying to update OpenWrt's Dovecot package. I found commit 61fe6bb, but it appeared incomplete after I backported it. I think there are still some conditionals that need to be added to the build system.

This commit adds a few more conditionals. There is still a problem with all-settings.c unconditionally including ldap.h, but I don't yet understand settings-get.pl enough to fix this.

Additionally, it might be possible to simplify things, both with my changes and the existing build definitions.

Though incomplete, I hoped this patch would help make progress.

@cmouse
Copy link
Contributor

cmouse commented Jun 15, 2025

Can you please use 2.4.1 for both dovecot core and pigeonhole? Then use 61fe6bb and 4eddec2, and you need dovecot/pigeonhole@b37322a

@cmouse
Copy link
Contributor

cmouse commented Jun 17, 2025

Also include 431e328

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.

2 participants