]> git.sesse.net Git - vlc/commitdiff
modplug: no need to link to stdc++ and m
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 2 Mar 2012 14:59:10 +0000 (16:59 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 6 Mar 2012 16:53:02 +0000 (18:53 +0200)
This avoids extraneous libraries when libmodplug is a dynamic library.

configure.ac
modules/demux/Modules.am

index 2a74fe6b7a1c36d9c5088fe2cce996a17c42ee21..cc1500edf6591df8c36c48d075ba3bfebaf2b2bc 100644 (file)
@@ -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=""
index 69263611c923fbca3e63588e3adc812a3fa1e80b..1762541bd642b75248c7ca2c68fc721cd575f9ee 100644 (file)
@@ -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