Skip to content

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

Merged
airween merged 1 commit into
owasp-modsecurity:v2/masterfrom
airween:v2/makefilefix
May 10, 2025
Merged

chore: remove unnecessary @LIBXML2_CFLAGS@ from linker flags#3376
airween merged 1 commit into
owasp-modsecurity:v2/masterfrom
airween:v2/makefilefix

Conversation

@airween

@airween airween commented May 10, 2025

Copy link
Copy Markdown
Member

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 fzipi and theseion May 10, 2025 09:24
@sonarqubecloud

Copy link
Copy Markdown

@airween airween merged commit 06cb10f into owasp-modsecurity:v2/master May 10, 2025
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