winlin

use local openssl header files to avoid warnings on osx.

@@ -167,7 +167,7 @@ PROTOCOL_OBJS="${MODULE_OBJS[@]}" @@ -167,7 +167,7 @@ PROTOCOL_OBJS="${MODULE_OBJS[@]}"
167 if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then 167 if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
168 MODULE_ID="APP" 168 MODULE_ID="APP"
169 MODULE_DEPENDS=("CORE" "KERNEL" "PROTOCOL") 169 MODULE_DEPENDS=("CORE" "KERNEL" "PROTOCOL")
170 - ModuleLibIncs=(${LibSTRoot} ${LibHttpParserRoot} ${SRS_OBJS_DIR}) 170 + ModuleLibIncs=(${LibSTRoot} ${LibHttpParserRoot} ${LibSSLRoot} ${SRS_OBJS_DIR})
171 MODULE_FILES=("srs_app_server" "srs_app_conn" "srs_app_rtmp_conn" "srs_app_source" 171 MODULE_FILES=("srs_app_server" "srs_app_conn" "srs_app_rtmp_conn" "srs_app_source"
172 "srs_app_refer" "srs_app_hls" "srs_app_forward" "srs_app_encoder" "srs_app_http_stream" 172 "srs_app_refer" "srs_app_hls" "srs_app_forward" "srs_app_encoder" "srs_app_http_stream"
173 "srs_app_thread" "srs_app_bandwidth" "srs_app_st" "srs_app_log" "srs_app_config" 173 "srs_app_thread" "srs_app_bandwidth" "srs_app_st" "srs_app_log" "srs_app_config"
@@ -200,7 +200,7 @@ LIBS_OBJS="${MODULE_OBJS[@]}" @@ -200,7 +200,7 @@ LIBS_OBJS="${MODULE_OBJS[@]}"
200 if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then 200 if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
201 MODULE_ID="MAIN" 201 MODULE_ID="MAIN"
202 MODULE_DEPENDS=("CORE" "KERNEL" "PROTOCOL" "APP") 202 MODULE_DEPENDS=("CORE" "KERNEL" "PROTOCOL" "APP")
203 - ModuleLibIncs=(${LibSTRoot} ${SRS_OBJS_DIR} ${LibGperfRoot} ${LibHttpParserRoot}) 203 + ModuleLibIncs=(${LibSTRoot} ${SRS_OBJS_DIR} ${LibGperfRoot} ${LibHttpParserRoot} ${LibSSLRoot})
204 MODULE_FILES=("srs_main_server" "srs_main_ingest_hls") 204 MODULE_FILES=("srs_main_server" "srs_main_ingest_hls")
205 # add each modules for main 205 # add each modules for main
206 for SRS_MODULE in ${SRS_MODULES[*]}; do 206 for SRS_MODULE in ${SRS_MODULES[*]}; do