1
1
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:
Bruno Lopes
2025-09-06 14:17:57 -03:00
parent 0782b9166b
commit ee43316839
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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