mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
fix bug of arm package script
This commit is contained in:
parent
fe80a4a7d2
commit
6e8c0b9674
1 changed files with 6 additions and 6 deletions
|
@ -91,12 +91,7 @@ if [[ "unknown" == $os_machine ]]; then os_machine=`uname -m`; fi
|
|||
# build srs
|
||||
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/Build
|
||||
ok_msg "start build srs"
|
||||
if [ $X86_64 = YES ]; then
|
||||
(
|
||||
cd $work_dir &&
|
||||
./configure --x86-x64 --prefix=$INSTALL && make
|
||||
) >> $log 2>&1
|
||||
elif [ $ARM = YES ]; then
|
||||
if [ $ARM = YES ]; then
|
||||
(
|
||||
cd $work_dir &&
|
||||
./configure --arm --prefix=$INSTALL && make
|
||||
|
@ -106,6 +101,11 @@ elif [ $PI = YES ]; then
|
|||
cd $work_dir &&
|
||||
./configure --pi --prefix=$INSTALL && make
|
||||
) >> $log 2>&1
|
||||
elif [ $X86_64 = YES ]; then
|
||||
(
|
||||
cd $work_dir &&
|
||||
./configure --x86-x64 --prefix=$INSTALL && make
|
||||
) >> $log 2>&1
|
||||
else
|
||||
failed_msg "invalid option, must be x86-x64/arm/pi, see --help"; exit 1;
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue