[vlc-devel] [PATCH] package/win32: build.sh: don't run bootstrap if it was run once

Steve Lhomme robux4 at ycbcr.xyz
Fri Feb 14 08:23:54 CET 2020


If the configure.ac changes, autotools will notice and rerun the necessary
commands to build properly. Same thing if a Makefile.am is modified.

If one of the local .m4 file is modified, it won't pick the difference. The
user will need to run the bootstrap manually (or remove the configure file).
---
 extras/package/win32/build.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh
index 23ab6e8495d..446f8290cf7 100755
--- a/extras/package/win32/build.sh
+++ b/extras/package/win32/build.sh
@@ -169,8 +169,10 @@ fi
 cd ../..
 
 info "Bootstrapping"
-
-${SCRIPT_PATH}/../../../bootstrap
+if ! [ -e ${SCRIPT_PATH}/../../../configure ]; then
+    echo "Bootstraping vlc"
+    ${SCRIPT_PATH}/../../../bootstrap
+fi
 
 info "Configuring VLC"
 mkdir -p $SHORTARCH
-- 
2.17.1



More information about the vlc-devel mailing list