mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
16 lines
359 B
Plaintext
Executable File
16 lines
359 B
Plaintext
Executable File
#!@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
|