mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-13 15:07:10 +03:00
Add handling of -pthread option to apxs-wrapper for Tru64 builds.
This commit is contained in:
@@ -5,6 +5,9 @@ for opt in "$@"; do
|
|||||||
case "$opt" in
|
case "$opt" in
|
||||||
# Fix for -R not working w/apxs
|
# Fix for -R not working w/apxs
|
||||||
-R*) WRAPPED_OPTS="$WRAPPED_OPTS -Wl,$opt" ;;
|
-R*) WRAPPED_OPTS="$WRAPPED_OPTS -Wl,$opt" ;;
|
||||||
|
# OSF1 compiler option
|
||||||
|
-pthread) WRAPPED_OPTS="$WRAPPED_OPTS -Wc,$opt" ;;
|
||||||
|
# Unwrapped
|
||||||
*) WRAPPED_OPTS="$WRAPPED_OPTS $opt" ;;
|
*) WRAPPED_OPTS="$WRAPPED_OPTS $opt" ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user