On Windows the get_prerequisites()
function looks for objdump
but on msys64 the name is objdump.exe
which is not matched by the regular expression.
By replacing line 748 in GetPrerequisites.cmake
elseif(gp_tool MATCHES "objdump$")
with
elseif(gp_tool MATCHES "objdump(\.exe)?$")
the issue is fixed.
When running fixup_bundle
in a MSYS environment it fails because gp_tool
resolves to objdump.exe
and not just objdump
.
Fixes: #22381
Topic-rename: GetPrerequisites-objdump-exe
When running fixup_bundle
in a MSYS environment it fails because gp_tool
resolves to objdump.exe
and not just objdump
.
Fixes: #22381
Topic-rename: GetPrerequisites-objdump-exe
Daniel Schlegel (a8564e6b) at 28 Sep 05:00
Add optional ".exe" extension to objdump in regex match.
On Windows the get_prerequisites()
function looks for objdump
but on msys64 the name is objdump.exe
which is not matched by the regular expression.
By replacing line 748 in GetPrerequisites.cmake
elseif(gp_tool MATCHES "objdump$")
with
elseif(gp_tool MATCHES "objdump(\.exe)?$")
the issue is fixed.