[PATCH v5 1/1] Initial support for LuaJIT scripting
Dmitry V. Levin
ldv at altlinux.org
Wed Jul 5 15:17:59 UTC 2017
On Wed, Jul 05, 2017 at 05:28:53PM +0300, Victor Krapivensky wrote:
> On Tue, Jul 04, 2017 at 11:31:49PM +0300, Dmitry V. Levin wrote:
> > This longish C string is actually a lua script, and it doesn't look nice
> > in this form. Wouldn't it be better if this script was translated into
> > a C string automatically by some Makefile rule?
> Yes, it would. In fact, this is what mpv does [1].
>
> BTW, are there any disadvantages of installing the script file to a
> compile-time known directory over hardcoding it into the binary?
How would you run the test suite?
The disadvantage is that strace executable will no longer be a standalone
program one can install and invoke from a non-standard location.
> 1. https://github.com/mpv-player/mpv/blob/b387f82aa40a1655590bbb0dffe58f9728a37b49/wscript_build.py#L102-L111
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170705/c88a5756/attachment.bin>
More information about the Strace-devel
mailing list