#!/bin/sh
# $FreeBSD: devel/llvm33/files/llvm-wrapper.sh.in 320713 2013-06-12 18:37:03Z brooks $

LLVM_PREFIX="/usr/local/llvm33"
LLVM_SUFFIX="33"

tool=$(basename $0)
tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}"
LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \
    "${tool}" "${@}"
