mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
build: fix distdir with wireshark disabled
Even though the Makefile has WITH_WIRESHARK guards, the _SOURCES variables are still processed when adding bits to the dist archive. plugin.c is a generated file that is only built when wireshark is enabled and it shouldn't be distributed, so use 'nodist'
This commit is contained in:
parent
e988ba94aa
commit
e20dd2a4fd
@ -386,10 +386,10 @@ ws_plugin_LTLIBRARIES = wireshark/src/libvirt.la
|
|||||||
wireshark_src_libvirt_la_CPPFLAGS = \
|
wireshark_src_libvirt_la_CPPFLAGS = \
|
||||||
-I wireshark/src $(WIRESHARK_DISSECTOR_CFLAGS)
|
-I wireshark/src $(WIRESHARK_DISSECTOR_CFLAGS)
|
||||||
wireshark_src_libvirt_la_LDFLAGS = -avoid-version -module
|
wireshark_src_libvirt_la_LDFLAGS = -avoid-version -module
|
||||||
|
nodist_wireshark_src_libvirt_la_SOURCES = wireshark/src/plugin.c
|
||||||
wireshark_src_libvirt_la_SOURCES = \
|
wireshark_src_libvirt_la_SOURCES = \
|
||||||
wireshark/src/packet-libvirt.h \
|
wireshark/src/packet-libvirt.h \
|
||||||
wireshark/src/packet-libvirt.c \
|
wireshark/src/packet-libvirt.c
|
||||||
wireshark/src/plugin.c
|
|
||||||
|
|
||||||
wireshark/src/packet-libvirt.c: wireshark/src/packet-libvirt.h \
|
wireshark/src/packet-libvirt.c: wireshark/src/packet-libvirt.h \
|
||||||
wireshark/src/libvirt/protocol.h
|
wireshark/src/libvirt/protocol.h
|
||||||
|
Loading…
Reference in New Issue
Block a user