[vlc-devel] [PATCH] contribs: bootstrap: allow config.mak override file

Alexandre Janniaux ajanni at videolabs.io
Wed Oct 9 23:35:09 CEST 2019


The file is optional but is still used by ports and needed to avoid
using global environment configuration variables in build scripts.
---
 contrib/bootstrap | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 577d8b0dc6..01a234e55c 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -362,6 +362,7 @@ TOPSRC_BUILT=$(python3 -c "import os; print(os.path.relpath('$BOOTSTRAP_PATH', '
 add_make "TOPSRC = $TOPSRC"
 add_make "TOPSRC_BUILT = $TOPSRC_BUILT"
 add_make "TOPDST = .."
+add_make "-include config.mak"
 add_make 'include $(TOPSRC)/src/main.mak'
 echo "Bootstrap completed."
 make help
-- 
2.23.0



More information about the vlc-devel mailing list