Add handling of -pthread option to apxs-wrapper for Tru64 builds.

This commit is contained in:
b1v1r
2009-05-31 09:19:26 +00:00
parent c99f8fa2c9
commit da370a9a88

View File

@@ -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