From 16851c45121e54280ad0efc00ff099021aad77b4 Mon Sep 17 00:00:00 2001 From: RocFang Date: Fri, 22 Apr 2016 19:09:57 +0800 Subject: [PATCH] move ngx_events_module and ngx_event_core module to the posion before modules introduced by nginx-rtmp in the ngx_modules array --- config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config b/config index cc4f2a3..786b661 100644 --- a/config +++ b/config @@ -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