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

Use pkg-config to find libxml2, falling back to xml2-config if necessary #2818

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

hughmcmaster
Copy link
Contributor

Debian is taking steps to remove xml2-config in favour of pkg-config. This means ModSecurity will build without libxml2 support by default on Debian, Ubuntu and other distributions tracking Debian packages.

This patch modifies build/libxml.m4 to check for libxml2 via pkg-config, falling back to xml2-config if necessary.

Patch for ModSecurity v2, as discussed in #2714.

Debian is taking steps to remove xml2-config in favour of pkg-config.
This means ModSecurity will build without libxml2 support by default
on Debian, Ubuntu and other distributions tracking Debian packages.

This patch modifies build/find_xml.m4 to check for libxml2 via
pkg-config, falling back to xml2-config if necessary.
@hughmcmaster
Copy link
Contributor Author

Here you go, @martinhsv.

@martinhsv martinhsv added the 2.x Related to ModSecurity version 2.x label Nov 10, 2022
@martinhsv martinhsv merged commit 701365f into owasp-modsecurity:v2/master Nov 11, 2022
@martinhsv
Copy link
Contributor

Merged. Thanks @hughmcmaster .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Related to ModSecurity version 2.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants