From 48e8333d91ea64ccbc6e694393783498f1aa5d4b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 15 Jun 2012 10:04:38 +0200 Subject: build: Provide the right include path when building modules. * Makefile.am (.scm.go): Add missing `-L $(top_srcdir)'. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5cc49a73fb..0a51552054 100644 --- a/Makefile.am +++ b/Makefile.am @@ -48,7 +48,8 @@ CLEANFILES = $(GOBJECTS) *.log $(MKDIR_P) `dirname "$@"` GUILE_AUTO_COMPILE=0 \ GUILE_LOAD_COMPILED_PATH="$(top_builddir):$$GUILE_LOAD_COMPILED_PATH" \ - $(GUILD) compile -Wformat -Wunbound-variable -Warity-mismatch \ + $(GUILD) compile -L "$(top_srcdir)" \ + -Wformat -Wunbound-variable -Warity-mismatch \ -o "$@" "$<" SUFFIXES = .go -- cgit v1.2.3