diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-11-02 12:12:52 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-11-02 12:12:52 +0000 |
commit | 28d8e661af1b6c90245c2def91dedb54bacc969b (patch) | |
tree | 8dc58ffe0f9a9597a729c3701d527792f381222b /configure | |
parent | a43fb6b37efa5b01f2c9bdc414570691229bcfab (diff) | |
download | ffmpeg-28d8e661af1b6c90245c2def91dedb54bacc969b.tar.gz |
Accept multiple --extra-ldflags and --extra-libs options.
Originally committed as revision 6869 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -713,9 +713,9 @@ for opt do ;; --extra-cflags=*) add_cflags "$optval" ;; - --extra-ldflags=*) EXTRALDFLAGS="$optval" + --extra-ldflags=*) add_ldflags "$optval" ;; - --extra-libs=*) extralibs="$optval" + --extra-libs=*) add_extralibs "$optval" ;; --build-suffix=*) BUILDSUF="$optval" ;; @@ -917,8 +917,8 @@ EOF shlibdir='${PREFIX}' fi -# Combine FFLDFLAGS, EXTRALDFLAGS and the LDFLAGS environment variable. -LDFLAGS="$FFLDFLAGS $EXTRALDFLAGS $LDFLAGS" +# Combine FFLDFLAGS and the LDFLAGS environment variable. +LDFLAGS="$FFLDFLAGS $LDFLAGS" test -n "$cross_prefix" && cross_compile=yes cc="${cross_prefix}${cc}" |