mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
uwsgi-cgi: fix libcap detection
uwsgi-cgi's build system requires CPP to be set to avoid using include
path from the build system. Otherwise it may wrongly detect
sys/capability.h of the host system and enables libcap support
CPP variable was once introduced into build system in 2017 but then
reverted in b957e45 ("rukes.mk: this patch broken grub2 builds")
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@ define Package/uwsgi-cgi
|
|||||||
SUBMENU:=Web Servers/Proxies
|
SUBMENU:=Web Servers/Proxies
|
||||||
TITLE:=The uWSGI server
|
TITLE:=The uWSGI server
|
||||||
URL:=http://unbit.com/
|
URL:=http://unbit.com/
|
||||||
DEPENDS:=+libopenssl +libpcre +jansson +libuuid +libxml2
|
DEPENDS:=+libcap +libopenssl +libpcre +jansson +libuuid +libxml2
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/uwsgi-cgi-luci-support
|
define Package/uwsgi-cgi-luci-support
|
||||||
@@ -39,6 +39,9 @@ define Package/uwsgi-cgi/description
|
|||||||
The uWSGI project build with cgi profile
|
The uWSGI project build with cgi profile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
MAKE_VARS+=\
|
||||||
|
CPP=$(TARGET_CROSS)cpp
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default,PROFILE=cgi)
|
$(call Build/Compile/Default,PROFILE=cgi)
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user