This patch resolves an issue where a global Lua installation led the Makefile to attempt using the global installation, resulting in a failure since it wasn’t considered a build dependency by Homebrew. Consequently, the patch ensures that Lua is always included as an external dependency managed by Homebrew, rather than relying on the lib included in the proxmark3 repository.
To document this, theoretically, the issue lies within the Makefile / include headers of the proxmark3 repo. However, for the time being, this appears to be a suitable solution to address this problem.
This patch resolves an issue where a global Lua installation led the Makefile to attempt using the global installation, resulting in a failure since it wasn’t considered a build dependency by Homebrew. Consequently, the patch ensures that Lua is always included as an external dependency managed by Homebrew, rather than relying on the lib included in the proxmark3 repository.