File: apxs-wrapper.in

package info (click to toggle)
modsecurity-apache 2.9.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,436 kB
  • sloc: ansic: 53,590; sh: 5,249; perl: 2,340; cpp: 1,930; makefile: 618; xml: 6
file content (15 lines) | stat: -rwxr-xr-x 359 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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