[vlc-commits] modplug: no need to link to stdc++ and m
Rémi Denis-Courmont
git at videolan.org
Tue Mar 6 17:55:49 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Mar 2 16:59:10 2012 +0200| [cbe148bafa0d04db9e58f8bf0cf14a31bea4baf3] | committer: Rémi Denis-Courmont
modplug: no need to link to stdc++ and m
This avoids extraneous libraries when libmodplug is a dynamic library.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cbe148bafa0d04db9e58f8bf0cf14a31bea4baf3
---
configure.ac | 2 +-
modules/demux/Modules.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 2a74fe6..cc1500e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -620,7 +620,7 @@ AC_CHECK_FUNC(getopt_long,, [
AC_SUBST(GNUGETOPT_LIBS)
AC_CHECK_LIB(m,cos,[
- VLC_ADD_LIBS([adjust wave ripple psychedelic gradient a52tofloat32 dtstofloat32 x264 goom visual panoramix rotate noise grain scene kate flac lua chorus_flanger freetype avcodec avformat access_avio swscale postproc i420_rgb faad twolame equalizer spatializer param_eq samplerate freetype mod mpc dmo mp4 quicktime qt4 compressor headphone_channel_mixer normvol audiobargraph_a speex mono colorthres extract ball access_imem hotkeys mosaic gaussianblur dbus x264 hqdn3d anaglyph],[-lm])
+ VLC_ADD_LIBS([adjust wave ripple psychedelic gradient a52tofloat32 dtstofloat32 x264 goom visual panoramix rotate noise grain scene kate flac lua chorus_flanger freetype avcodec avformat access_avio swscale postproc i420_rgb faad twolame equalizer spatializer param_eq samplerate freetype mpc dmo mp4 quicktime qt4 compressor headphone_channel_mixer normvol audiobargraph_a speex mono colorthres extract ball access_imem hotkeys mosaic gaussianblur dbus x264 hqdn3d anaglyph],[-lm])
LIBM="-lm"
], [
LIBM=""
diff --git a/modules/demux/Modules.am b/modules/demux/Modules.am
index 6926361..1762541 100644
--- a/modules/demux/Modules.am
+++ b/modules/demux/Modules.am
@@ -12,7 +12,7 @@ SOURCES_live555 = live555.cpp ../access/mms/asf.c ../access/mms/buffer.c
SOURCES_nsv = nsv.c
SOURCES_real = real.c
SOURCES_ps = ps.c ps.h
-SOURCES_mod = mod.c dummy.cpp
+SOURCES_mod = mod.c
SOURCES_pva = pva.c
SOURCES_aiff = aiff.c
SOURCES_mjpeg = mjpeg.c mxpeg_helper.h
More information about the vlc-commits
mailing list