mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
luajit: permit building on macos host
luajit didn't understand completely that it was building in a cross compiled environment for Linux target. This would cause issues when building under openwrt on macos. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
This commit is contained in:
@@ -43,12 +43,14 @@ define Build/Compile
|
|||||||
CROSS="$(TARGET_CROSS)" \
|
CROSS="$(TARGET_CROSS)" \
|
||||||
DPREFIX=$(PKG_INSTALL_DIR)/usr \
|
DPREFIX=$(PKG_INSTALL_DIR)/usr \
|
||||||
PREFIX=/usr \
|
PREFIX=/usr \
|
||||||
|
TARGET_SYS=Linux \
|
||||||
TARGET_CFLAGS="$(TARGET_CFLAGS)"
|
TARGET_CFLAGS="$(TARGET_CFLAGS)"
|
||||||
rm -rf $(PKG_INSTALL_DIR)
|
rm -rf $(PKG_INSTALL_DIR)
|
||||||
mkdir -p $(PKG_INSTALL_DIR)
|
mkdir -p $(PKG_INSTALL_DIR)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
DPREFIX=$(PKG_INSTALL_DIR)/usr \
|
DPREFIX=$(PKG_INSTALL_DIR)/usr \
|
||||||
PREFIX=/usr \
|
PREFIX=/usr \
|
||||||
|
TARGET_SYS=Linux \
|
||||||
install
|
install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user