Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Steve Lhomme
VLC
Commits
7610a35a
Commit
7610a35a
authored
Dec 21, 2017
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32: build.sh: Add breakpad support
parent
80f61c83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
extras/package/win32/build.sh
extras/package/win32/build.sh
+13
-2
No files found.
extras/package/win32/build.sh
View file @
7610a35a
...
...
@@ -25,11 +25,12 @@ OPTIONS:
-c Create a Prebuilt contrib package (rarely used)
-l Enable translations (can be slow)
-i <n|r|u> Create an Installer (n: nightly, r: release, u: unsigned release archive)
-b <url> Enable breakpad support and send crash reports to this URL
EOF
}
ARCH
=
"x86_64"
while
getopts
"hra:pcli:"
OPTION
while
getopts
"hra:pcli:
b:
"
OPTION
do
case
$OPTION
in
h
)
...
...
@@ -55,6 +56,9 @@ do
i
)
INSTALLER
=
$OPTARG
;;
b
)
BREAKPAD
=
$OPTARG
;;
esac
done
shift
$((
$OPTIND
-
1
))
...
...
@@ -112,7 +116,10 @@ export PKG_CONFIG_LIBDIR=$PWD/contrib/$TRIPLET/lib/pkgconfig
export
PATH
=
$PWD
/contrib/
$TRIPLET
/bin:
$PATH
echo
$PATH
./bootstrap
if
[
!
-z
"
$BREAKPAD
"
]
;
then
CONFIGFLAGS
=
"
$CONFIGFLAGS
--with-breakpad=
$BREAKPAD
"
fi
./bootstrap
$CONTRIBFLAGS
info
"Configuring VLC"
mkdir
$SHORTARCH
||
true
...
...
@@ -125,6 +132,10 @@ fi
if
[
"
$I18N
"
!=
"yes"
]
;
then
CONFIGFLAGS
=
"
$CONFIGFLAGS
--disable-nls"
fi
if
[
!
-z
"
$BREAKPAD
"
]
;
then
CONFIGFLAGS
=
"
$CONFIGFLAGS
--with-breakpad=
$BREAKPAD
"
fi
../extras/package/win32/configure.sh
--host
=
$TRIPLET
$CONFIGFLAGS
info
"Compiling"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment