All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm][PATCH] gpu-viv-bin-mx6q: Add missing libffi dependency
@ 2014-07-16 22:50 Jacob Kroon
  0 siblings, 0 replies; only message in thread
From: Jacob Kroon @ 2014-07-16 22:50 UTC (permalink / raw)
  To: meta-freescale

Running

  readelf --dynamic libgc_wayland_protocol.so | grep NEEDED

shows that the library has a runtime dependency on libffi. Same thing
applies to libwayland-viv.so.

Add libffi to DEPENDS, so that packaging can properly detect
the runtime dependency.

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 4106848..cc542db 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -11,6 +11,11 @@ DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamag
                              base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \
                                            '', d), d)}"
 
+# libgc_wayland_protocol.so and libwayland-viv.so have a runtime
+# dependency on libffi. Make it a build dependency, so that it is available
+# at packaging time, in order to make the automatic dependency detection work.
+DEPENDS += "libffi"
+
 PROVIDES += "virtual/wayland-egl virtual/libgl virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 virtual/libopenvg"
 
 PE = "1"
-- 
1.9.3



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-16 22:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-16 22:50 [meta-fsl-arm][PATCH] gpu-viv-bin-mx6q: Add missing libffi dependency Jacob Kroon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.