From a62a56f5351a2f0e3a2d50c58033b2a0c9e5063a Mon Sep 17 00:00:00 2001 From: Gabriel M Date: Fri, 15 May 2020 16:05:10 -0300 Subject: [PATCH] Add lrexlib-pcre through luarocks. --- impls/.gitignore | 1 + impls/lua/Makefile | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/impls/.gitignore b/impls/.gitignore index c1371974..0e096052 100644 --- a/impls/.gitignore +++ b/impls/.gitignore @@ -81,6 +81,7 @@ kotlin/.idea kotlin/*.iml lua/lib lua/linenoise.so +lua/rex_pcre.so lua/mal.lua make/mal.mk mal/mal.mal diff --git a/impls/lua/Makefile b/impls/lua/Makefile index afa700c3..8c8fb289 100644 --- a/impls/lua/Makefile +++ b/impls/lua/Makefile @@ -23,13 +23,17 @@ mal: mal.lua clean: - rm -f linenoise.so mal.lua mal + rm -f linenoise.so rex_pcre.so mal.lua mal rm -rf lib .PHONY: libs -libs: linenoise.so +libs: linenoise.so rex_pcre.so linenoise.so: luarocks install --tree=./ linenoise ln -sf $$(find . -name linenoise.so) $@ +rex_pcre.so: + luarocks install --tree=./ lrexlib-pcre + ln -sf $$(find . -name rex_pcre.so) $@ +