# To use the llvm-opt binaries in a SlackBuild, make the following
# export statements:

if [ "${LLVM_OPT:-ON}" = "ON" ]; then
    export PATH="/opt/llvm-opt/bin:$PATH"
    if [ -z "$LD_LIBRARY_PATH" ]; then
	export LD_LIBRARY_PATH="/opt/llvm-opt/lib$LIBDIRSUFFIX"
    else
	export LD_LIBRARY_PATH="/opt/llvm-opt/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
    fi
fi
