1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk/3rdparty/patches/loongarch/apply.sh

12 lines
347 B
Bash
Executable file

#!/bin/bash
if [[ $OS_IS_LOONGARCH == YES ]]; then
echo "Apply config patches for loongarch"
rm -f config.guess config.sub &&
cp ../../../3rdparty/patches/loongson/config.* .
ret=$?; if [[ $ret -ne 0 ]]; then echo "apply failed, $ret"; exit $ret; fi
echo "Apply config patches for OS_IS_LOONGARCH:${OS_IS_LOONGARCH} OK"
fi