unimportant

This commit is contained in:
Cosmin Apreutesei
2019-10-27 14:21:10 +02:00
parent 6bf8550b44
commit 4df2ce9f76
+4 -1
View File
@@ -146,7 +146,7 @@ compile_dir_module() {
name=$f f=$o.dir compile_bin_module "$@"
}
sayt() { [ "$VERBOSE" ] && printf " %-15s %s\n" "$1" "$2"; }
sayt() { [ "$VERBOSE" ] && printf " %-16s %s\n" "$1" "$2"; }
# usage: mtype=type [osuffix=] $0 file[.lua]|.c|.dasl|.* CFLAGS... -> file.o
compile_module() {
@@ -301,6 +301,9 @@ compile_all() {
[ "$MAIN" ] && copt=-DBUNDLE_MAIN=$MAIN
osuffix=_$MAIN compile_bundle_module bundle.c $copt
(cd csrc/luajit/src/src && \
patch -o ../../../bundle/luajit.c < ../../../bundle/luajit.c.patch)
# compile our custom luajit frontend which calls bundle_add_loaders()
# and bundle_main() on startup.
compile_bundle_module luajit.c