mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
meson: Fix .pdb installation condition on Linux and macOS
This commit is contained in:
@@ -99,7 +99,7 @@ function self_build ([string]$repo, [array]$branch, [array]$patches, [array]$opt
|
||||
Write-Output "$([char]27)[0Ksection_end:$(Get-Date -UFormat %s -Millisecond 0):${dep}_build$([char]13)$([char]27)[0K"
|
||||
}
|
||||
|
||||
self_build babl
|
||||
#self_build babl
|
||||
self_build gegl @('build/windows/patches/0001-meson-only-generate-CodeView-.pdb-symbols-on-Windows.patch') @('-Dworkshop=true')
|
||||
|
||||
Set-Location $GIMP_DIR
|
||||
|
@@ -2028,7 +2028,7 @@ pkgconfig.generate(libgimpui,
|
||||
# Install native debug data (.pdb) on Windows
|
||||
# Ideally meson should take care of it automatically.
|
||||
# See: https://github.com/mesonbuild/meson/issues/12977
|
||||
if debugging_format == 'native'
|
||||
if platform_windows and debugging_format == 'native'
|
||||
install_win_debug_script = find_program('build/windows/2_bundle-gimp-uni_sym.py')
|
||||
meson.add_install_script(install_win_debug_script)
|
||||
endif
|
||||
|
Reference in New Issue
Block a user