[libvirt] [PATCH] Fix VPATH build

Jiri Denemark jdenemar at redhat.com
Mon Oct 17 15:54:35 UTC 2011


probes.h is generated in build directory; setting a dependency on
probes.h from source directory doesn't work well in VPATH builds. Caused
by commit 1afcfbdda0cac112faa61f74ec943e46aa43f2f5
---
 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 510e5ef..87d91ed 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -191,7 +191,7 @@ REMOTE_DRIVER_GENERATED = \
 
 # The remote RPC driver needs probes.h
 if WITH_DTRACE
-REMOTE_DRIVER_GENERATED += $(srcdir)/probes.h
+REMOTE_DRIVER_GENERATED += probes.h
 endif
 
 REMOTE_PROTOCOL = $(srcdir)/remote/remote_protocol.x
-- 
1.7.7




More information about the libvir-list mailing list