[x264-devel] [PATCH] macosx: version the libraries

Loren Merritt lorenm at u.washington.edu
Sat Jan 28 00:46:24 CET 2012


On Wed, 25 Jan 2012, Sean McGovern wrote:

> --- a/configure
> +++ b/configure
> @@ -1042,6 +1042,7 @@ fi
>
>  if [ "$shared" = "yes" ]; then
>      API=$(grep '#define X264_BUILD' < ${SRCPATH}/x264.h | cut -f 3 -d ' ')
> +    echo "API=$API" >> config.mak
>      if [ "$SYS" = "WINDOWS" -o "$SYS" = "CYGWIN" ]; then
>          echo "SONAME=libx264-$API.dll" >> config.mak
>          if [ $compiler = ICL ]; then

Why do you need to export the variable to make, as opposed to
dereferencing it on the configure side?

--Loren Merritt


More information about the x264-devel mailing list