[grilo] vala: Fix compilation with Vala enabled and grlnet disabled
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] vala: Fix compilation with Vala enabled and grlnet disabled
- Date: Wed, 2 Mar 2016 11:08:29 +0000 (UTC)
commit a4b13a13f2161fd3ae8e9bef3e33c3fa47d79b56
Author: Bastien Nocera <hadess hadess net>
Date: Wed Mar 2 12:06:19 2016 +0100
vala: Fix compilation with Vala enabled and grlnet disabled
https://bugzilla.gnome.org/show_bug.cgi?id=761820
bindings/vala/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/bindings/vala/Makefile.am b/bindings/vala/Makefile.am
index 8c726ef..d31301d 100644
--- a/bindings/vala/Makefile.am
+++ b/bindings/vala/Makefile.am
@@ -12,11 +12,13 @@ grilo_ GRL_MAJORMINOR_NORM@_vapi_DEPS = gio-2.0
grilo_ GRL_MAJORMINOR_NORM@_vapi_METADATADIRS = $(srcdir)
grilo_ GRL_MAJORMINOR_NORM@_vapi_FILES = $(srcdir)/grilo- GRL_MAJORMINOR@-custom.vala
$(top_builddir)/src/Grl- GRL_MAJORMINOR@.gir
+if BUILD_GRILO_NET
grilo-net- GRL_MAJORMINOR@.vapi: $(top_builddir)/libs/net/GrlNet- GRL_MAJORMINOR@.gir grilo-net-
GRL_MAJORMINOR@-custom.vala grilo-net- GRL_MAJORMINOR@.deps GrlNet- GRL_MAJORMINOR@.metadata
grilo_net_ GRL_MAJORMINOR_NORM@_vapi_DEPS = gio-2.0
grilo_net_ GRL_MAJORMINOR_NORM@_vapi_METADATADIRS = $(srcdir)
grilo_net_ GRL_MAJORMINOR_NORM@_vapi_FILES = $(srcdir)/grilo-net- GRL_MAJORMINOR@-custom.vala
$(top_builddir)/libs/net/GrlNet- GRL_MAJORMINOR@.gir
+endif
vapidir = $(datadir)/vala/vapi
vapi_DATA = $(VAPIGEN_VAPIS) $(VAPIGEN_VAPIS:.vapi=.deps)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]