File: apxs-wrapper.in

package info (click to toggle)
libapache-mod-security 2.5.12-1%2Bsqueeze4
  • links: PTS
  • area: main
  • in suites: squeeze-lts
  • size: 6,292 kB
  • ctags: 2,537
  • sloc: ansic: 21,266; sh: 6,512; xml: 6,320; perl: 1,653; makefile: 191
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