diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2025-08-09 08:49:12 +0300 |
---|---|---|
committer | Fat-Zer <fatzer2@gmail.com> | 2025-08-10 07:09:52 +0000 |
commit | 0a9401e9c5afd3504162aab918ad84fa279a140b (patch) | |
tree | 185c5aa4d561a3f977d760491bb24e7a3c9572a3 /config.h.cmake | |
parent | 1256297108752093c40ddd3fe025c0d98ff03a6a (diff) | |
download | tdelibs-0a9401e9c5afd3504162aab918ad84fa279a140b.tar.gz tdelibs-0a9401e9c5afd3504162aab918ad84fa279a140b.zip |
Fix build WITH_LIBBFD and libbfd 2.34+
Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tdelibs/issues/368
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index cd2ec1c96..7aaf0a23f 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -108,6 +108,10 @@ /* Define to 1 if libbfd provides demangle.h header */ #cmakedefine HAVE_DEMANGLE_H 1 +/* Define to 1 if libbfd have API of version 2.34+ (i.e. + * bfd_section_flags() has only one paremater) */ +#cmakedefine HAVE_LIBBFD_2_34_API 1 + /* Define if getaddrinfo is broken and should be replaced */ #cmakedefine HAVE_BROKEN_GETADDRINFO 1 |