move ngx_events_module and ngx_event_core module to the posion before modules introduced by nginx-rtmp in the ngx_modules array

This commit is contained in:
RocFang 2016-04-22 19:09:57 +08:00
parent 28f75cb86d
commit 16851c4512

4
config
View file

@ -88,7 +88,7 @@ if [ "$ngx_module_link" = "" ] ; then
# Old nginx version
ngx_module_link=NONE
CORE_MODULES="$CORE_MODULES $RTMP_CORE_MODULES"
EVENT_MODULES="$EVENT_MODULES $RTMP_CORE_MODULES"
HTTP_MODULES="$HTTP_MODULES $RTMP_HTTP_MODULES"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $RTMP_DEPS"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $RTMP_CORE_SRCS $RTMP_HTTP_SRCS"
@ -99,7 +99,7 @@ if [ $ngx_module_link = DYNAMIC ] ; then
ngx_module_srcs="$RTMP_CORE_SRCS $RTMP_HTTP_SRCS"
. auto/module
elif [ $ngx_module_link = ADDON ] ; then
ngx_module_type=CORE
ngx_module_type=EVENT
ngx_module_name=$RTMP_CORE_MODULES
ngx_module_srcs=$RTMP_CORE_SRCS
. auto/module