mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
golang: Try to deal with srcdir != builddir builds.
Updates: commit 95de3f6c50
Thanks: Gianfranco Costamagna
This commit is contained in:
@@ -39,6 +39,7 @@ EXTRA_DIST = \
|
||||
if HAVE_GOLANG
|
||||
|
||||
all-local: $(source_files)
|
||||
-[ $(srcdir) != $(builddir) ] && ln -s $(abs_srcdir)/src $(builddir)/src
|
||||
cd src/$(pkg) && $(GOLANG) build
|
||||
|
||||
TESTS_ENVIRONMENT = pkg=$(pkg) $(top_builddir)/run $(VG) # --test
|
||||
|
||||
Reference in New Issue
Block a user