mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-14 03:13:54 +02:00
luaposix: use fake uname script to fix OS detection
Avoid picking up the host OS for detecting the build type Fixes build on macOS Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
be3bcda92a
commit
ed21cbf109
|
@ -34,6 +34,8 @@ define Package/luaposix/description
|
||||||
to various low level libc functions.
|
to various low level libc functions.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
TARGET_PATH_PKG:=$(CURDIR)/scripts:$(TARGET_PATH_PKG)
|
||||||
|
|
||||||
TARGET_CFLAGS += \
|
TARGET_CFLAGS += \
|
||||||
-I$(STAGING_DIR)/usr/include
|
-I$(STAGING_DIR)/usr/include
|
||||||
|
|
||||||
|
|
2
lang/luaposix/scripts/uname
Executable file
2
lang/luaposix/scripts/uname
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
echo Linux
|
Loading…
Reference in New Issue
Block a user