diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2026-01-25 18:29:16 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2026-01-26 11:36:34 +0100 |
| commit | 4c334d76886949bad8dea45a82fbca913d732e88 (patch) | |
| tree | 850a8565907cf3b30bf4a9153b70593ac77d3dc8 /ConfigureChecks.cmake | |
| parent | 27a0853fae6d0a09bf8048836f6088993e76c90f (diff) | |
| download | libr-r14.1.x.tar.gz libr-r14.1.x.zip | |
Update for API change in binutils 2.46.r14.1.x
According to the commit message in binutils, it was a simple renaming
of `*_set_reloc` to `*_finalize_section_relocs` without changing the
functionality.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b471c5f6213db85a3ac35e98a0a1054dc9eb9ad3)
Diffstat (limited to 'ConfigureChecks.cmake')
| -rw-r--r-- | ConfigureChecks.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 3590495..af683ff 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -40,6 +40,7 @@ if( WITH_BACKEND_LIBBFD ) bfd_copy_private_section_data(ihandle, iscn, ohandle, oscn, NULL); }" HAVE_BFD_2_45) + check_symbol_exists( bfd_finalize_section_relocs bfd.h HAVE_BFD_2_46 ) tde_restore( CMAKE_REQUIRED_LIBRARIES ) tde_restore( CMAKE_REQUIRED_DEFINITIONS ) set( BACKEND_LIBRARIES "-lbfd" ) |
