diff --git a/golang/Makefile.am b/golang/Makefile.am index 54ece2a30..6eb56a9c3 100644 --- a/golang/Makefile.am +++ b/golang/Makefile.am @@ -41,7 +41,8 @@ if HAVE_GOLANG all-local: $(source_files) -[ $(srcdir) != $(builddir) ] && ln -s $(abs_srcdir)/src $(builddir)/src - cd src/$(pkg) && $(GOLANG) build + cd src/$(pkg) && \ + $(abs_top_builddir)/run $(GOLANG) build TESTS_ENVIRONMENT = pkg=$(pkg) $(top_builddir)/run $(VG) # --test