mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
fix bug for arm cross build
This commit is contained in:
parent
e42eef422f
commit
e0e033d847
1 changed files with 7 additions and 1 deletions
6
trunk/configure
vendored
6
trunk/configure
vendored
|
@ -403,7 +403,13 @@ if [ $SRS_GPERF = YES ]; then LibGperfRoot="${SRS_OBJS}/gperf/include"; LibGperf
|
|||
# the link options, always use static link
|
||||
SrsLinkOptions="";
|
||||
if [ $SRS_SSL = YES ]; then if [ $SRS_USE_SYS_SSL = YES ]; then SrsLinkOptions="-lssl"; fi fi
|
||||
if [ $SRS_ARM_UBUNTU12 = YES ]; then
|
||||
# for arm cross build tool chain, always use static and ldl.
|
||||
SrsLinkOptions="${SrsLinkOptions} -static -ldl";
|
||||
else
|
||||
# for x86/64/arm directly build, use static or ldl.
|
||||
if [ $SRS_STATIC = YES ]; then SrsLinkOptions="${SrsLinkOptions} -static"; else SrsLinkOptions="${SrsLinkOptions} -ldl"; fi
|
||||
fi
|
||||
|
||||
#####################################################################################
|
||||
# Modules, compile each module, then link to binary
|
||||
|
|
Loading…
Reference in a new issue