@@ -96,6 +96,11 @@ RTMP_CORE_SRCS=" \
96
96
"
97
97
98
98
99
+ RTMP_HTTP_DEPS=" \
100
+ $ngx_addon_dir/ngx_http_flv_live_module.h \
101
+ "
102
+
103
+
99
104
RTMP_HTTP_SRCS=" \
100
105
$ngx_addon_dir/ngx_rtmp_stat_module.c \
101
106
$ngx_addon_dir/ngx_rtmp_control_module.c \
@@ -104,7 +109,7 @@ RTMP_HTTP_SRCS=" \
104
109
105
110
if [ -f auto/module ] ; then
106
111
ngx_module_incs=$ngx_addon_dir
107
- ngx_module_deps=$RTMP_DEPS
112
+ ngx_module_deps=" $RTMP_DEPS $RTMP_HTTP_DEPS"
108
113
109
114
if [ $ngx_module_link = DYNAMIC ] ; then
110
115
ngx_module_name="$ngx_addon_name $RTMP_CORE_MODULES $RTMP_HTTP_MODULES"
@@ -125,15 +130,15 @@ if [ -f auto/module ] ; then
125
130
else
126
131
ngx_module_type=CORE
127
132
ngx_module_name=$RTMP_CORE_MODULES
133
+ ngx_module_deps=$RTMP_DEPS
128
134
ngx_module_srcs=$RTMP_CORE_SRCS
129
135
130
136
. auto/module
131
137
132
138
133
139
ngx_module_type=HTTP
134
140
ngx_module_name=$RTMP_HTTP_MODULES
135
- ngx_module_incs=
136
- ngx_module_deps=
141
+ ngx_module_deps=$RTMP_HTTP_DEPS
137
142
ngx_module_srcs=$RTMP_HTTP_SRCS
138
143
139
144
. auto/module
143
148
CORE_MODULES="$CORE_MODULES $RTMP_CORE_MODULES"
144
149
HTTP_MODULES="$HTTP_MODULES $RTMP_HTTP_MODULES"
145
150
146
- NGX_ADDON_DEPS="$NGX_ADDON_DEPS $RTMP_DEPS"
151
+ NGX_ADDON_DEPS="$NGX_ADDON_DEPS $RTMP_DEPS $RTMP_HTTP_DEPS "
147
152
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $RTMP_CORE_SRCS $RTMP_HTTP_SRCS"
148
153
149
154
CFLAGS="$CFLAGS -I$ngx_addon_dir"
0 commit comments