Merge pull request #6739 from zhouruixi/nginx_fix-warning

nginx: Fix warnings while compile rtmp and ts modules
This commit is contained in:
Hannu Nyman
2018-08-12 16:08:10 +03:00
committed by GitHub
+3 -3
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nginx
PKG_VERSION:=1.15.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://nginx.org/download/
@@ -439,7 +439,7 @@ ifeq ($(CONFIG_NGINX_RTMP_MODULE),y)
$(eval $(call Download,nginx-rtmp))
define Prepare/nginx-rtmp
$(eval $(call Download,nginx-rtmp))
$(eval $(Download/nginx-rtmp))
gzip -dc $(DL_DIR)/$(FILE) | tar -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
endef
endif
@@ -457,7 +457,7 @@ ifeq ($(CONFIG_NGINX_TS_MODULE),y)
$(eval $(call Download,nginx-ts))
define Prepare/nginx-ts
$(eval $(call Download,nginx-ts))
$(eval $(Download/nginx-ts))
gzip -dc $(DL_DIR)/$(FILE) | tar -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
endef
endif