Commit 4fd66271 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

win32: build.sh: Fix breakpad activation

(cherry picked from commit 6812104e)
Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent fc751501
...@@ -95,7 +95,10 @@ cd ../../ ...@@ -95,7 +95,10 @@ cd ../../
info "Building contribs" info "Building contribs"
export USE_FFMPEG=1 export USE_FFMPEG=1
mkdir -p contrib/contrib-$SHORTARCH && cd contrib/contrib-$SHORTARCH 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 # Rebuild the contribs or use the prebuilt ones
if [ "$PREBUILT" != "yes" ]; then if [ "$PREBUILT" != "yes" ]; then
...@@ -116,10 +119,7 @@ export PKG_CONFIG_LIBDIR=$PWD/contrib/$TRIPLET/lib/pkgconfig ...@@ -116,10 +119,7 @@ export PKG_CONFIG_LIBDIR=$PWD/contrib/$TRIPLET/lib/pkgconfig
export PATH=$PWD/contrib/$TRIPLET/bin:$PATH export PATH=$PWD/contrib/$TRIPLET/bin:$PATH
echo $PATH echo $PATH
if [ ! -z "$BREAKPAD" ]; then ./bootstrap
CONFIGFLAGS="$CONFIGFLAGS --with-breakpad=$BREAKPAD"
fi
./bootstrap $CONTRIBFLAGS
info "Configuring VLC" info "Configuring VLC"
mkdir $SHORTARCH || true mkdir $SHORTARCH || true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment