Browse Source

Merge pull request #11027 from neheb/luaj

luajit: use dynamic buildmode
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
820d1e830f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      lang/luajit/Makefile

+ 3
- 2
lang/luajit/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luajit PKG_NAME:=luajit
PKG_VERSION:=2.1.0-beta3 PKG_VERSION:=2.1.0-beta3
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=LuaJIT-$(PKG_VERSION).tar.gz PKG_SOURCE:=LuaJIT-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://luajit.org/download PKG_SOURCE_URL:=https://luajit.org/download
@ -44,7 +44,8 @@ define Build/Compile
DPREFIX=$(PKG_INSTALL_DIR)/usr \ DPREFIX=$(PKG_INSTALL_DIR)/usr \
PREFIX=/usr \ PREFIX=/usr \
TARGET_SYS=Linux \ TARGET_SYS=Linux \
TARGET_CFLAGS="$(TARGET_CFLAGS)"
TARGET_CFLAGS="$(TARGET_CFLAGS)" \
BUILDMODE=dynamic
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) \


Loading…
Cancel
Save