mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Redo build system to properly use autotools and avoid compilation with apxs util.
This commit is contained in:
15
build/apxs-wrapper.in
Executable file
15
build/apxs-wrapper.in
Executable file
@@ -0,0 +1,15 @@
|
||||
#!@SHELL@
|
||||
|
||||
WRAPPED_OPTS=""
|
||||
for opt in "$@"; do
|
||||
case "$opt" in
|
||||
# Fix for -R not working w/apxs
|
||||
-R*) WRAPPED_OPTS="$WRAPPED_OPTS -Wl,$opt" ;;
|
||||
# OSF1 compiler option
|
||||
-pthread) WRAPPED_OPTS="$WRAPPED_OPTS -Wc,$opt" ;;
|
||||
# Unwrapped
|
||||
*) WRAPPED_OPTS="$WRAPPED_OPTS $opt" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
exec @APXS@ $WRAPPED_OPTS
|
Reference in New Issue
Block a user