aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@windriver.com>2015-05-13 16:54:08 +0200
committerAndrei Gherzan <andrei.gherzan@windriver.com>2015-05-13 16:54:08 +0200
commitee13123e9689959208aa3170a272431c1d88c7f8 (patch)
treeba10de04905631bc6e8ad8081233b25fa632a364
parent8be36df5c134a9637c052aaba7182f2691f8472e (diff)
downloadmeta-ivi-ee13123e9689959208aa3170a272431c1d88c7f8.tar.gz
meta-ivi-ee13123e9689959208aa3170a272431c1d88c7f8.tar.bz2
meta-ivi-ee13123e9689959208aa3170a272431c1d88c7f8.zip
node-state-manager: Fix build
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
-rw-r--r--meta-ivi/recipes-extended/node-state-manager/node-state-manager/link-with-gio.patch17
-rw-r--r--meta-ivi/recipes-extended/node-state-manager/node-state-manager_2.0.0.bb1
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-ivi/recipes-extended/node-state-manager/node-state-manager/link-with-gio.patch b/meta-ivi/recipes-extended/node-state-manager/node-state-manager/link-with-gio.patch
new file mode 100644
index 0000000..0217fef
--- /dev/null
+++ b/meta-ivi/recipes-extended/node-state-manager/node-state-manager/link-with-gio.patch
@@ -0,0 +1,17 @@
+NodeStateAccess needs to link to libgio.
+
+Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
+
+Index: git/NodeStateAccess/Makefile.am
+===================================================================
+--- git.orig/NodeStateAccess/Makefile.am
++++ git/NodeStateAccess/Makefile.am
+@@ -33,7 +33,7 @@ libNodeStateAccess_la_LIBDADD = $(GIO_LI
+ $(GLIB_LIBS) \
+ $(GOBJECT_LIBS)
+
+-libNodeStateAccess_la_LDFLAGS = -avoid-version
++libNodeStateAccess_la_LDFLAGS = -avoid-version -lgio-2.0
+
+ # List generated headers here to assert that they are available when built is started
+ BUILT_SOURCES = generated/NodeStateConsumer.h \
diff --git a/meta-ivi/recipes-extended/node-state-manager/node-state-manager_2.0.0.bb b/meta-ivi/recipes-extended/node-state-manager/node-state-manager_2.0.0.bb
index e137535..59eccce 100644
--- a/meta-ivi/recipes-extended/node-state-manager/node-state-manager_2.0.0.bb
+++ b/meta-ivi/recipes-extended/node-state-manager/node-state-manager_2.0.0.bb
@@ -16,6 +16,7 @@ SRCREV = "dd4a86b9459537d2e85489b36abf80f34d12f098"
SRC_URI = "git://git.projects.genivi.org/lifecycle/node-state-manager.git \
file://nsm-fix-systemd-service-dep.patch \
file://nsm-fix-no-libsystemd-daemon.patch \
+ file://link-with-gio.patch \
"
PR = "r1"