[vlc-commits] mmal: Add -lm when linking mmal_vout
Martin Storsjö
git at videolan.org
Fri Jul 4 18:56:29 CEST 2014
vlc/vlc-2.2 | branch: master | Martin Storsjö <martin at martin.st> | Mon Jun 30 21:26:29 2014 +0300| [4aed4bd489905c701ba3820fbaeab3acb6318c4d] | committer: Jean-Baptiste Kempf
mmal: Add -lm when linking mmal_vout
This is required since mmal_vout uses the fmod function.
This fixes loading of the mmal_vout plugin on raspbian.
Signed-off-by: Martin Storsjö <martin at martin.st>
(cherry picked from commit f389c750405ff2234a3f841801385e8dfb51c564)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=4aed4bd489905c701ba3820fbaeab3acb6318c4d
---
modules/video_output/Modules.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/Modules.am b/modules/video_output/Modules.am
index 1a66064..df8fbf6 100644
--- a/modules/video_output/Modules.am
+++ b/modules/video_output/Modules.am
@@ -238,7 +238,7 @@ vout_LTLIBRARIES += $(LTLIBcaca)
### MMAL ###
libmmal_vout_plugin_la_SOURCES = mmal.c
libmmal_vout_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_mmal_vout)
-libmmal_vout_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' $(LDFLAGS_mmal_vout)
+libmmal_vout_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' $(LDFLAGS_mmal_vout) -lm
libmmal_vout_plugin_la_LIBADD = $(LIBS_mmal_vout)
EXTRA_LTLIBRARIES += libmmal_vout_plugin.la
vout_LTLIBRARIES += $(LTLIBmmal_vout)
More information about the vlc-commits
mailing list