[virt-tools-list] [virt-viewer][PATCH 2/3] Makefile.am: Added new define for virt-viewer
Lukas Venhoda
lvenhoda at redhat.com
Tue May 12 10:21:16 UTC 2015
Added define USING_VIRT_VIEWER when compiling virt-viewer. This will be
needed when compiling virt-viewer with the "Reconnect" GUI button,
because it can be only implemented in virt-viewer and not remote-viewer.
---
I thought of many other ways around this, but ultimately, ifdef seemed
like the cleanest option to me.
---
src/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Makefile.am b/src/Makefile.am
index e76f5bc..3550404 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -95,6 +95,7 @@ virt_viewer_LDFLAGS = \
$(SPICE_GTK_LIBS) \
$(NULL)
virt_viewer_CFLAGS = \
+ -DUSING_VIRT_VIEWER \
-DLOCALE_DIR=\""$(datadir)/locale"\" \
-DG_LOG_DOMAIN=\"virt-viewer\" \
$(GLIB2_CFLAGS) \
--
2.4.0
More information about the virt-tools-list
mailing list