Some Make variants complain if the LIB variable does not exist.
authorAlexander Strasser <eclipse7@gmx.net>
Mon, 6 Feb 2006 21:52:23 +0000 (21:52 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 6 Feb 2006 21:52:23 +0000 (21:52 +0000)
patch by Alexander Strasser

Originally committed as revision 4948 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index f9c6f71b93e1da79662acf1e0b367eaa904ab033..f461cd15da260e08b0d2f288da6c0784e348d5bf 100755 (executable)
--- a/configure
+++ b/configure
@@ -1411,6 +1411,8 @@ echo "LIBPREF=$LIBPREF" >> config.mak
 echo "LIBSUF=\${BUILDSUF}$LIBSUF" >> config.mak
 if test "$lstatic" = "yes" ; then
   echo "LIB=$LIB" >> config.mak
+else # Some Make complain if this variable does not exist.
+  echo "LIB=" >> config.mak
 fi
 echo "SLIBPREF=$SLIBPREF" >> config.mak
 echo "SLIBSUF=\${BUILDSUF}$SLIBSUF" >> config.mak