]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix VPATH build
authorJiri Denemark <jdenemar@redhat.com>
Mon, 17 Oct 2011 15:42:47 +0000 (17:42 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 17 Oct 2011 15:54:26 +0000 (17:54 +0200)
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

index 510e5efdc0dbada4815e2131dee376781aee96ce..87d91ede79cb8c407e8a2af9e592ad85d8ce1c73 100644 (file)
@@ -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