1
0
Fork 0
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:
winlin 2014-04-19 11:54:14 +08:00
parent e42eef422f
commit e0e033d847

6
trunk/configure vendored
View file

@ -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