Skip to content

chore: remove unnecessary @LIBXML2_CFLAGS@ from linker flags #3376

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

Merged
merged 1 commit into from
May 10, 2025

Conversation

airween
Copy link
Member

@airween airween commented May 10, 2025

what

This PR removes the unnecessary @LIBXML2_CFLAGS@ from flags for linker in apache2/Makefile.am.

why

CFLAGS (eg. -I/usr/include/libxml2 - can be viewed with the xml2-config --cflags command) and LDFLAGS (eg. -lxml2 - can be viewed with the xml2-config --libs command) serve different purposes.

This may cause a compilation error in newer C compilers.

@airween airween requested review from theseion and fzipi May 10, 2025 09:24
@airween airween merged commit 06cb10f into owasp-modsecurity:v2/master May 10, 2025
42 checks passed
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