[vlc-commits] win32: build.sh: Fix breakpad activation

Hugo Beauzée-Luyssen git at videolan.org
Wed Dec 27 12:00:03 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Dec 27 12:00:32 2017 +0100| [6812104e4053cc48e04ab3406efd6038fc0c162f] | committer: Hugo Beauzée-Luyssen

win32: build.sh: Fix breakpad activation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6812104e4053cc48e04ab3406efd6038fc0c162f
---

 extras/package/win32/build.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh
index cd305442b4..220321015c 100755
--- a/extras/package/win32/build.sh
+++ b/extras/package/win32/build.sh
@@ -95,7 +95,10 @@ cd ../../
 info "Building contribs"
 export USE_FFMPEG=1
 mkdir -p contrib/contrib-$SHORTARCH && cd contrib/contrib-$SHORTARCH
-../bootstrap --host=$TRIPLET
+if [ ! -z "$BREAKPAD" ]; then
+     CONTRIBFLAGS="$CONTRIBFLAGS --enable-breakpad"
+fi
+../bootstrap --host=$TRIPLET $CONTRIBFLAGS
 
 # Rebuild the contribs or use the prebuilt ones
 if [ "$PREBUILT" != "yes" ]; then
@@ -116,10 +119,7 @@ export PKG_CONFIG_LIBDIR=$PWD/contrib/$TRIPLET/lib/pkgconfig
 export PATH=$PWD/contrib/$TRIPLET/bin:$PATH
 echo $PATH
 
-if [ ! -z "$BREAKPAD" ]; then
-     CONFIGFLAGS="$CONFIGFLAGS --with-breakpad=$BREAKPAD"
-fi
-./bootstrap $CONTRIBFLAGS
+./bootstrap
 
 info "Configuring VLC"
 mkdir $SHORTARCH || true



More information about the vlc-commits mailing list