about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2026-05-13 23:01:18 +0100
committerArun Isaac2026-05-17 23:10:17 +0100
commit336cba494ddba3a86ba53cc2b987d7b4fa477601 (patch)
tree6a2210d89ba23e4e44840d34fb9f359773de54d0
parente107a6ba5cafd9c87602d805e495d7475fb965d1 (diff)
downloadkaagum-336cba494ddba3a86ba53cc2b987d7b4fa477601.tar.gz
kaagum-336cba494ddba3a86ba53cc2b987d7b4fa477601.tar.lz
kaagum-336cba494ddba3a86ba53cc2b987d7b4fa477601.zip
Compile guile sources with pre-inst-env.
This obviates the need for -L since GUILE_LOAD_PATH and friends are
already set in pre-inst-env.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ce9ff50..588ef56 100644
--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,7 @@ all: $(objects) $(config_file)
 	$(SED) -e 's|@PROJECT@|$(project)|' -e 's|@PROJECT_TITLE@|$(project_title)|' -e 's|@VERSION@|$(version)|' $< > $@
 
 %.go: %.scm $(config_file)
-	GUILE_AUTO_COMPILE=0 $(GUILD) compile $(GUILD_FLAGS) -L . -o $@ $<
+	GUILE_AUTO_COMPILE=0 ./pre-inst-env $(GUILD) compile $(GUILD_FLAGS) -o $@ $<
 
 check:
 	./pre-inst-env $(GUILE_RUN64) $(tests)