summaryrefslogtreecommitdiffstats
path: root/vlc/build/vlc_amr.patch
blob: 447458829958c0293ed07eb5a8507016faafc9c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- configure.ac.orig	2007-12-12 13:00:30.000000000 +0100
+++ configure.ac	2007-12-12 13:07:11.000000000 +0100
@@ -2646,6 +2646,12 @@
    if fgrep -s "CONFIG_XVID=yes" "${real_ffmpeg_tree}/config.mak"; then
      VLC_ADD_LDFLAGS([ffmpeg],[-lxvidcore])
    fi
+   if fgrep -s "CONFIG_AMR=yes" "${real_ffmpeg_tree}/config.mak"; then
+     VLC_ADD_LDFLAGS([ffmpeg],[-lamrnb])
+   fi
+   if fgrep -s "CONFIG_AMR_WB=yes" "${real_ffmpeg_tree}/config.mak"; then
+     VLC_ADD_LDFLAGS([ffmpeg],[-lamrwb])
+   fi
 
    VLC_ADD_BUILTINS([ffmpeg])
    if test "${enable_sout}" != "no"; then