aports/community/fennel/fix_make.patch
2024-06-24 02:15:32 +00:00

15 lines
527 B
Diff

# Do not build against vendored lua
--- a/Makefile
+++ b/Makefile
@@ -97,8 +97,8 @@
$(BIN_LUAJIT_DIR): ; git submodule update --init
# Native binary for whatever platform you're currently on
-fennel-bin: src/launcher.fnl $(BIN_LUA_DIR)/src/lua $(NATIVE_LUA_LIB) fennel
- $(COMPILE_ARGS) $(BIN_LUA_DIR)/src/lua fennel \
+fennel-bin: src/launcher.fnl $(BIN_LUA_DIR) $(NATIVE_LUA_LIB) fennel
+ $(COMPILE_ARGS) $(BIN_LUA_DIR) fennel \
--no-compiler-sandbox --compile-binary \
$< $@ $(NATIVE_LUA_LIB) $(LUA_INCLUDE_DIR)