lua-curl-v3: fix build on macos
lua-curl-v3 detects OS and changes compilation flags depends on OS. If Darwin is detected then it adds GCC non-compatible flags. OpenWrt is always Linux, OS detection is disabled via UNAME=Linux as a part of MAKE_FLAGS Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
This commit is contained in:
parent
42c4d25455
commit
dc08def771
1 changed files with 4 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=lua-curl-v3
|
PKG_NAME:=lua-curl-v3
|
||||||
PKG_VERSION:=0.3.13-snapshot
|
PKG_VERSION:=0.3.13-snapshot
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_LICENSE:=MIT
|
PKG_LICENSE:=MIT
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|
||||||
|
@ -29,6 +29,9 @@ define Package/lua-curl-v3
|
||||||
MAINTAINER:=Rainer Poisel <rainer.poisel@gmail.com>
|
MAINTAINER:=Rainer Poisel <rainer.poisel@gmail.com>
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
MAKE_FLAGS += \
|
||||||
|
UNAME="Linux"
|
||||||
|
|
||||||
define Package/lua-curl-v3/description
|
define Package/lua-curl-v3/description
|
||||||
Lua bindings to libcurl (Lua-cURLv3)
|
Lua bindings to libcurl (Lua-cURLv3)
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue