mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00: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:
@@ -34,6 +34,8 @@ define Package/luaposix/description
|
||||
to various low level libc functions.
|
||||
endef
|
||||
|
||||
TARGET_PATH_PKG:=$(CURDIR)/scripts:$(TARGET_PATH_PKG)
|
||||
|
||||
TARGET_CFLAGS += \
|
||||
-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
|
||||
Reference in New Issue
Block a user