mirror of
https://github.com/videolan/vlc.git
synced 2024-11-23 18:03:48 +08:00
package/win32: enable PDB for contrib binaries
This way it's enabled the same way for all the code we build.
This commit is contained in:
parent
0085375629
commit
2c2eb68192
@ -343,11 +343,12 @@ info "Building contribs"
|
||||
echo $PATH
|
||||
|
||||
mkdir -p contrib/contrib-$SHORTARCH && cd contrib/contrib-$SHORTARCH
|
||||
if [ ! -z "$WITH_PDB" ]; then
|
||||
if [ -n "$WITH_PDB" ]; then
|
||||
CONTRIBFLAGS="$CONTRIBFLAGS --enable-pdb"
|
||||
VLC_CFLAGS="$VLC_CFLAGS --start-no-unused-arguments -gcodeview --end-no-unused-arguments"
|
||||
VLC_CXXFLAGS="$VLC_CXXFLAGS --start-no-unused-arguments -gcodeview --end-no-unused-arguments"
|
||||
if [ ! -z "$PDB_MAP" ]; then
|
||||
VLC_CFLAGS="$VLC_CFLAGS --start-no-unused-arguments -g -gcodeview --end-no-unused-arguments"
|
||||
VLC_CXXFLAGS="$VLC_CXXFLAGS --start-no-unused-arguments -g -gcodeview --end-no-unused-arguments"
|
||||
VLC_LDFLAGS="$VLC_LDFLAGS --start-no-unused-arguments -Wl,-pdb= --end-no-unused-arguments"
|
||||
if [ -n "$PDB_MAP" ]; then
|
||||
VLC_CFLAGS="$VLC_CFLAGS -fdebug-prefix-map='$VLC_ROOT_PATH'='$PDB_MAP'"
|
||||
VLC_CXXFLAGS="$VLC_CXXFLAGS -fdebug-prefix-map='$VLC_ROOT_PATH'='$PDB_MAP'"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user