diff --git a/src/Makefile.am b/src/Makefile.am index 56b1ed48cb..34dfeeb9f9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -529,9 +529,6 @@ if WITH_DTRACE_PROBES libvirt_la_BUILT_LIBADD += libvirt_probes.lo libvirt_la_DEPENDENCIES += libvirt_probes.lo libvirt_probes.o nodist_libvirt_la_SOURCES = libvirt_probes.h -if WITH_REMOTE -nodist_libvirt_driver_remote_la_SOURCES = libvirt_probes.h -endif WITH_REMOTE DTRACE2SYSTEMTAP_FLAGS = --with-modules BUILT_SOURCES += libvirt_probes.h libvirt_probes.stp libvirt_functions.stp diff --git a/src/remote/Makefile.inc.am b/src/remote/Makefile.inc.am index 071d19d26a..00f2212909 100644 --- a/src/remote/Makefile.inc.am +++ b/src/remote/Makefile.inc.am @@ -179,6 +179,10 @@ libvirt_driver_remote_la_CFLAGS = \ libvirt_driver_remote_la_LDFLAGS = $(AM_LDFLAGS) libvirt_driver_remote_la_SOURCES = $(REMOTE_DRIVER_SOURCES) +if WITH_DTRACE_PROBES +nodist_libvirt_driver_remote_la_SOURCES = libvirt_probes.h +endif WITH_DTRACE_PROBES + if WITH_SASL libvirt_driver_remote_la_CFLAGS += \ $(SASL_CFLAGS) \