aboutsummaryrefslogtreecommitdiff
path: root/lang/lua-curl-v3
diff options
context:
space:
mode:
authorSergey V. Lobanov <sergey@lobanov.in>2022-01-08 02:10:02 +0300
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2022-01-08 08:04:50 +0100
commitdc08def7716a8fdfdba4250afcb2c66d8084fb4b (patch)
treed3a65810bc4bfa8a861454da23a9c9fd20fd046e /lang/lua-curl-v3
parent42c4d254552c04f41a2b93811147ef56af45bf9c (diff)
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>
Diffstat (limited to 'lang/lua-curl-v3')
-rw-r--r--lang/lua-curl-v3/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/lua-curl-v3/Makefile b/lang/lua-curl-v3/Makefile
index 5855b61a4..083977521 100644
--- a/lang/lua-curl-v3/Makefile
+++ b/lang/lua-curl-v3/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=lua-curl-v3
PKG_VERSION:=0.3.13-snapshot
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
@@ -29,6 +29,9 @@ define Package/lua-curl-v3
MAINTAINER:=Rainer Poisel <rainer.poisel@gmail.com>
endef
+MAKE_FLAGS += \
+ UNAME="Linux"
+
define Package/lua-curl-v3/description
Lua bindings to libcurl (Lua-cURLv3)
endef