diff --git a/autogen.sh b/autogen.sh index 1e15b809aef7..a40d3f90e8c0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -11,4 +11,9 @@ else exit 1 fi; autoreconf -fv --install || exit 1 +if which cargo > /dev/null; then + if [ -f rust/Cargo.lock ] ; then + rm -f rust/Cargo.lock + fi +fi; echo "You can now run \"./configure\" and then \"make\"."