mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
golang: Fix build when libguestfs is not already installed.
See similar fix in libnbd:031aaefaa8Fixes: commit95de3f6c50
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user