summaryrefslogtreecommitdiffstats
path: root/pkgs/build-support/bintools-wrapper/llvm-ranlib-wrapper.sh
blob: 730424ce92e2d5d762330d3e878cffcee22269b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! @shell@
# shellcheck shell=bash

args=()
for p in "$@"; do
    case "$p" in
        -t)
            # Skip, LLVM ranlib doesn't support
            ;;
        *)
            args+=("$p")
            ;;
    esac
done

@prog@ "${args[@]}"