From be1f2c2bce1ba5e81ce14e9cb82c0d2fb251b60e Mon Sep 17 00:00:00 2001 From: Louie Shprung Date: Fri, 30 Aug 2024 18:37:12 -0400 Subject: Option to install lua-filesystem in nsis installer --- nsis/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nsis/Makefile.am') diff --git a/nsis/Makefile.am b/nsis/Makefile.am index 8eead42..c27b3fd 100644 --- a/nsis/Makefile.am +++ b/nsis/Makefile.am @@ -1,12 +1,13 @@ EXTRA_DIST = installer.nsi.in -CLEANFILES = *Setup.exe deps/* +CLEANFILES = *Setup.exe deps/* deps_luarocks/* SEARCHPATH=$$PATH DLLS = $(shell ntldd -R ../src/$(PACKAGE_NAME).exe | sed 's/.*=> //g' | grep -v "not found" | sed 's/ (.*)$$//g' | sed 's/\\/\\\\/g' | xargs cygpath -u | grep "$$MINGW_PREFIX") .PHONY: installer installer: installer.nsi - mkdir -p deps + mkdir -p deps deps_luarocks for file in $(DLLS); do install "$$file" "deps/$$(basename "$$file")"; done + cp /"$$(pacman -Fl $$MINGW_PACKAGE_PREFIX-lua-luafilesystem | grep -io $${MSYSTEM}.* | grep lfs.dll)" deps_luarocks/ makensis installer.nsi -- cgit