[vlc-commits] smooth: missing -lm
    Rémi Denis-Courmont 
    git at videolan.org
       
    Mon Nov 10 20:28:00 CET 2014
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 10 21:27:49 2014 +0200| [ab08d7de2e8e54a714d5471032475add02c28dc4] | committer: Rémi Denis-Courmont
smooth: missing -lm
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab08d7de2e8e54a714d5471032475add02c28dc4
---
 modules/stream_filter/Makefile.am |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/stream_filter/Makefile.am b/modules/stream_filter/Makefile.am
index 42c2053..e3918b9 100644
--- a/modules/stream_filter/Makefile.am
+++ b/modules/stream_filter/Makefile.am
@@ -102,8 +102,9 @@ libsmooth_plugin_la_SOURCES = \
     stream_filter/smooth/smooth.h \
     demux/mp4/libmp4.c demux/mp4/libmp4.h
 libsmooth_plugin_la_CFLAGS = $(AM_CFLAGS)
+libsmooth_plugin_la_LIBADD = $(LIBM)
 if HAVE_ZLIB
-libsmooth_plugin_la_LIBADD = -lz
+libsmooth_plugin_la_LIBADD += -lz
 endif
 stream_filter_LTLIBRARIES += libsmooth_plugin.la
 
    
    
More information about the vlc-commits
mailing list