[vlc-devel] [PATCH] mmal: Add -lm when linking mmal_vout
Martin Storsjö
martin at martin.st
Mon Jun 30 20:40:50 CEST 2014
This is required since mmal_vout uses the fmod function.
This fixes loading of the mmal_vout plugin on raspbian.
---
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)
--
1.7.10.4
More information about the vlc-devel
mailing list