Commit 9db59485 authored by diego's avatar diego

Accept multiple --extra-ldflags and --extra-libs options.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6869 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cc711100
......@@ -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}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment