[vlc-devel] [PATCH] sndio: Link with math library.
Vinson Lee
vlee at freedesktop.org
Sat Aug 20 00:11:23 CEST 2016
This patch fixes this build error.
audio_output/.libs/sndio.o: In function `VolumeSet':
modules/audio_output/sndio.c:271: undefined reference to `lroundf'
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
modules/audio_output/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/Makefile.am b/modules/audio_output/Makefile.am
index ec31a06..4a6d0b7 100644
--- a/modules/audio_output/Makefile.am
+++ b/modules/audio_output/Makefile.am
@@ -86,7 +86,7 @@ aout_LTLIBRARIES += libkai_plugin.la
endif
libsndio_plugin_la_SOURCES = audio_output/sndio.c
-libsndio_plugin_la_LIBADD = -lsndio
+libsndio_plugin_la_LIBADD = -lsndio $(LIBM)
if HAVE_SNDIO
aout_LTLIBRARIES += libsndio_plugin.la
endif
--
2.8.1
More information about the vlc-devel
mailing list