Commit 4aed4bd4 authored by Martin Storsjö's avatar Martin Storsjö Committed by 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: default avatarMartin Storsjö <martin@martin.st>
(cherry picked from commit f389c750405ff2234a3f841801385e8dfb51c564)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4adb3c64
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment