configure: fix writing library dependencies to config.sh
[ffmpeg.git] / configure
index c6fb344..46b4815 100755 (executable)
--- a/configure
+++ b/configure
@@ -7011,7 +7011,7 @@ EOF
 
 for lib in $LIBRARY_LIST; do
     lib_deps="$(eval echo \$${lib}_deps)"
-    echo ${lib}_deps=\"$lib_deps\" >> ffbuild/config.sh
+    echo ${lib}_deps=\"$lib_deps\" >> $TMPH
 done
 
 cp_if_changed $TMPH ffbuild/config.sh