build: Provide the right include path when building modules.

* Makefile.am (.scm.go): Add missing `-L $(top_srcdir)'.
This commit is contained in:
Ludovic Courtès 2012-06-15 10:04:38 +02:00
parent 1273d44ac7
commit 48e8333d91
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ CLEANFILES = $(GOBJECTS) *.log
$(MKDIR_P) `dirname "$@"` $(MKDIR_P) `dirname "$@"`
GUILE_AUTO_COMPILE=0 \ GUILE_AUTO_COMPILE=0 \
GUILE_LOAD_COMPILED_PATH="$(top_builddir):$$GUILE_LOAD_COMPILED_PATH" \ 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 "$@" "$<" -o "$@" "$<"
SUFFIXES = .go SUFFIXES = .go