正在显示
1 个修改的文件
包含
17 行增加
和
2 行删除
@@ -200,6 +200,23 @@ librtmp: server | @@ -200,6 +200,23 @@ librtmp: server | ||
200 | @echo "build the client publish/play library." | 200 | @echo "build the client publish/play library." |
201 | \$(MAKE) -f ${SRS_OBJS}/${SRS_MAKEFILE} librtmp | 201 | \$(MAKE) -f ${SRS_OBJS}/${SRS_MAKEFILE} librtmp |
202 | 202 | ||
203 | +END | ||
204 | +else | ||
205 | + cat << END >> ${SRS_MAKEFILE} | ||
206 | +librtmp: server | ||
207 | + @echo "srs-librtmp is disabled, ignore." | ||
208 | + | ||
209 | +END | ||
210 | +fi | ||
211 | +SrsLibrtmpSampleCompile=NO | ||
212 | +if [ $SRS_ARM_UBUNTU12 = NO ]; then | ||
213 | + if [ $SRS_LIBRTMP = YES ]; then | ||
214 | + SrsLibrtmpSampleCompile=YES | ||
215 | + fi | ||
216 | +fi | ||
217 | +if [ $SrsLibrtmpSampleCompile = YES ]; then | ||
218 | + cat << END >> ${SRS_MAKEFILE} | ||
219 | + | ||
203 | librtmp-sample: librtmp | 220 | librtmp-sample: librtmp |
204 | @echo "build the srs-librtmp sample" | 221 | @echo "build the srs-librtmp sample" |
205 | (cd research/librtmp; \$(MAKE) ${SrsLibrtmpSampleEntry}) | 222 | (cd research/librtmp; \$(MAKE) ${SrsLibrtmpSampleEntry}) |
@@ -208,8 +225,6 @@ librtmp-sample: librtmp | @@ -208,8 +225,6 @@ librtmp-sample: librtmp | ||
208 | END | 225 | END |
209 | else | 226 | else |
210 | cat << END >> ${SRS_MAKEFILE} | 227 | cat << END >> ${SRS_MAKEFILE} |
211 | -librtmp: server | ||
212 | - @echo "srs-librtmp is disabled, ignore." | ||
213 | 228 | ||
214 | librtmp-sample: librtmp | 229 | librtmp-sample: librtmp |
215 | @echo "srs-librtmp sample is disabled, ignore." | 230 | @echo "srs-librtmp sample is disabled, ignore." |
-
请 注册 或 登录 后发表评论