summaryrefslogtreecommitdiff
path: root/am/guilec
diff options
context:
space:
mode:
Diffstat (limited to 'am/guilec')
-rw-r--r--am/guilec7
1 files changed, 5 insertions, 2 deletions
diff --git a/am/guilec b/am/guilec
index 9af9daf06..7634a9716 100644
--- a/am/guilec
+++ b/am/guilec
@@ -26,6 +26,9 @@ AM_V_GUILEC_0 = @echo " GUILEC" $@;
SUFFIXES = .scm .go
.scm.go:
- $(AM_V_GUILEC)GUILE_AUTO_COMPILE=0 \
+ $(AM_V_GUILEC)GUILE_AUTO_COMPILE=0 \
$(top_builddir)/meta/uninstalled-env \
- guild compile --target="$(host)" $(GUILE_WARNINGS) -o "$@" "$<"
+ guild compile --target="$(host)" $(GUILE_WARNINGS) \
+ -L "$(abs_srcdir)" -L "$(abs_builddir)" \
+ -L "$(abs_top_srcdir)/guile-readline" \
+ -o "$@" "$<"