mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support crossbuild for hisiv500. v5.0.40
This commit is contained in:
parent
d885d574e4
commit
a842c6c32a
8 changed files with 21 additions and 11 deletions
|
@ -410,11 +410,6 @@ function apply_auto_options() {
|
|||
SRS_X86_X64=YES; opt="--x86-x64 $opt";
|
||||
fi
|
||||
|
||||
# Covert prefix without directory.
|
||||
if [[ $SRS_CROSS_BUILD_PREFIX != "" ]]; then
|
||||
SRS_CROSS_BUILD_PREFIX=$(basename $SRS_CROSS_BUILD_PREFIX)
|
||||
fi
|
||||
|
||||
if [[ $SRS_CROSS_BUILD == YES ]]; then
|
||||
if [[ $SRS_CROSS_BUILD_PREFIX != "" && $SRS_CROSS_BUILD_HOST == "" ]]; then
|
||||
SRS_CROSS_BUILD_HOST=$(echo $SRS_CROSS_BUILD_PREFIX| sed 's/-$//g')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue