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
2 changed files with 4 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue