mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #1437 from mstorchak/luaposix
luaposix: fix compatibility with musl
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=luaposix
|
PKG_NAME:=luaposix
|
||||||
PKG_VERSION:=v33.2.1
|
PKG_VERSION:=v33.2.1
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
PKG_SOURCE:=release-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=release-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://github.com/luaposix/luaposix/archive/
|
PKG_SOURCE_URL:=https://github.com/luaposix/luaposix/archive/
|
||||||
@@ -41,6 +41,9 @@ endef
|
|||||||
CONFIGURE_VARS += ac_cv_path_LDOC=""
|
CONFIGURE_VARS += ac_cv_path_LDOC=""
|
||||||
|
|
||||||
TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99
|
TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99
|
||||||
|
ifeq ($(CONFIG_USE_MUSL),y)
|
||||||
|
TARGET_CFLAGS += -D_POSIX_PRIORITY_SCHEDULING
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(CONFIG_USE_GLIBC),)
|
ifneq ($(CONFIG_USE_GLIBC),)
|
||||||
ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
|
ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
|
||||||
|
|||||||
Reference in New Issue
Block a user