[meta-fsl-arm] gpu-viv-bin-mx6q: Add missing libffi dependency

Submitted by Jacob Kroon on July 16, 2014, 10:50 p.m.


Message ID 1405551055-14656-1-git-send-email-jacob.kroon@mikrodidakt.se
State Changes Requested, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

Jacob Kroon July 16, 2014, 10:50 p.m.

  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(+)

Patch hide | download patch | download mbox

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"