[vlc-commits] mmal: Link to core, components, util explicitly

Julian Scheel git at videolan.org
Thu Oct 12 23:27:07 CEST 2017


vlc | branch: master | Julian Scheel <julian at jusst.de> | Thu Oct 12 14:47:06 2017 +0200| [1857a476b3f2f8ecb8fcd9668ae8b82c6facbb5b] | committer: Jean-Baptiste Kempf

mmal: Link to core, components, util explicitly

In older versions of the rpi-userland libmmal was linked against
libmmal_core/_components/_util, so they were linked implicitly. Newer
versions don't do that, so we have to link them explicitly.

Signed-off-by: Julian Scheel <julian at jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1857a476b3f2f8ecb8fcd9668ae8b82c6facbb5b
---

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 0f8f69f1a3..f342b328da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3379,7 +3379,7 @@ if test "${enable_mmal}" != "no"; then
         VLC_ADD_PLUGIN([mmal])
         VLC_ADD_LDFLAGS([mmal],[ -L/opt/vc/lib ])
         VLC_ADD_CFLAGS([mmal],[ -isystem /opt/vc/include -isystem /opt/vc/include/interface/vcos/pthreads -isystem /opt/vc/include/interface/vmcs_host/linux ])
-        VLC_ADD_LIBS([mmal],[ -lbcm_host -lmmal -lvchostif ]) ], [
+        VLC_ADD_LIBS([mmal],[ -lbcm_host -lmmal -lmmal_core -lmmal_components -lmmal_util -lvchostif ]) ], [
           AS_IF([test "${enable_mmal}" = "yes"],
             [ AC_MSG_ERROR([Cannot find bcm library...]) ],
             [ AC_MSG_WARN([Cannot find bcm library...]) ])



More information about the vlc-commits mailing list