Commit 5fd0a41
fix: patch msc_find_lib.m4 for multiarch library detection
ModSecurity v3.0.15 refactored library detection to centralize hardcoded
architecture paths in build/msc_find_lib.m4. The ssdeep.m4 and pcre2.m4
files are now thin wrappers that delegate to MSC_CHECK_LIB.
Patch only msc_find_lib.m4 to replace 'i386-linux-gnu' with the actual
detected architecture. This fixes SSDEEP library detection on arm64 and
other non-x86 platforms.
Fixes: build failures on linux/arm64 and linux/i386
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent dbcb017 commit 5fd0a41
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
0 commit comments