[pkg-luarocks,v2,1/5] package/luarocks: now luajit is dynamically detected by luarocks
diff mbox series

Message ID 20200322080706.19806-1-francois.perrad@gadz.org
State New
Headers show
Series
  • [pkg-luarocks,v2,1/5] package/luarocks: now luajit is dynamically detected by luarocks
Related show

Commit Message

Francois Perrad March 22, 2020, 8:07 a.m. UTC
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/luarocks/luarocks.mk | 7 -------
 1 file changed, 7 deletions(-)

Patch
diff mbox series

diff --git a/package/luarocks/luarocks.mk b/package/luarocks/luarocks.mk
index 123f8c073..d48c95ced 100644
--- a/package/luarocks/luarocks.mk
+++ b/package/luarocks/luarocks.mk
@@ -33,17 +33,10 @@  define HOST_LUAROCKS_CONFIGURE_CMDS
 	cd $(@D) && ./configure $(HOST_LUAROCKS_CONF_OPTS)
 endef
 
-ifeq ($(BR2_PACKAGE_LUAJIT),y)
-define LUAROCKS_CONFIGURE_INTERPRETER_LUAJIT
-	echo "lua_interpreter = [[luajit]]" >> $(LUAROCKS_CONFIG_FILE)
-endef
-endif
-
 define HOST_LUAROCKS_INSTALL_CMDS
 	rm -f $(LUAROCKS_CONFIG_FILE)
 	$(MAKE1) -C $(@D) install
 	cat $(HOST_LUAROCKS_PKGDIR)/luarocks-br-config.lua >> $(LUAROCKS_CONFIG_FILE)
-	$(LUAROCKS_CONFIGURE_INTERPRETER_LUAJIT)
 endef
 
 $(eval $(host-generic-package))