mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
always use static link, for manually build arm, and x86/64 use static link is ok.
This commit is contained in:
parent
e0e451b680
commit
efa22074be
2 changed files with 9 additions and 9 deletions
4
trunk/configure
vendored
4
trunk/configure
vendored
|
@ -316,8 +316,8 @@ if [ $SRS_SSL = YES ]; then LibSSLRoot="${SRS_OBJS}/openssl/include"; LibSSLfile
|
|||
# gperftools-2.1, for mem check and mem/cpu profile
|
||||
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, if arm, use static link
|
||||
SrsLinkOptions="-ldl"; if [ $SRS_ARM_UBUNTU12 = YES ]; then SrsLinkOptions="-ldl -static"; fi
|
||||
# the link options, always use static link
|
||||
SrsLinkOptions="-static"
|
||||
|
||||
#####################################################################################
|
||||
# Modules, compile each module, then link to binary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue