mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add option --static, to static link for arm
This commit is contained in:
parent
efa22074be
commit
12445174e7
3 changed files with 9 additions and 2 deletions
2
trunk/configure
vendored
2
trunk/configure
vendored
|
@ -317,7 +317,7 @@ if [ $SRS_SSL = YES ]; then LibSSLRoot="${SRS_OBJS}/openssl/include"; LibSSLfile
|
|||
LibGperfRoot=""; LibGperfFile=""
|
||||
if [ $SRS_GPERF = YES ]; then LibGperfRoot="${SRS_OBJS}/gperf/include"; LibGperfFile="${SRS_OBJS}/gperf/lib/libtcmalloc_and_profiler.a"; fi
|
||||
# the link options, always use static link
|
||||
SrsLinkOptions="-static"
|
||||
SrsLinkOptions="-ldl"; if [ $SRS_STATIC = YES ]; then SrsLinkOptions="${SrsLinkOptions} -static"; fi
|
||||
|
||||
#####################################################################################
|
||||
# Modules, compile each module, then link to binary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue