blob: 4985a5c6f073daab82488b441b566cd0e399a69a [file] [log] [blame]
do_install_append() {
rm -f ${D}${bindir}/${TARGET_PREFIX}llvm-ar
cat > ${D}${bindir}/${TARGET_PREFIX}llvm-ar << 'EOF'
#!/bin/sh
basedir=$(dirname "$0")
"${basedir}/../llvm-ar" "$@"
exit "$?"
EOF
chmod +x ${D}${bindir}/${TARGET_PREFIX}llvm-ar
}