Merge 197aa24955 into merged_master (Bitcoin PR bitcoin/bitcoin#30856)

This commit is contained in:
ivanlele 2026-03-26 16:00:52 +00:00
commit fdceaec968
No known key found for this signature in database
2 changed files with 5 additions and 15 deletions

View file

@ -23,14 +23,12 @@ using util::Join;
const std::string CLIENT_NAME("Elements Core");
#ifdef HAVE_BUILD_INFO
#include <obj/build.h>
// The <obj/build.h>, which is generated by the build environment (cmake/script/GenerateBuildInfo.cmake),
#include <bitcoin-build-info.h>
// The <bitcoin-build-info.h>, which is generated by the build environment (cmake/script/GenerateBuildInfo.cmake),
// could contain only one line of the following:
// - "#define BUILD_GIT_TAG ...", if the top commit is tagged
// - "#define BUILD_GIT_COMMIT ...", if the top commit is not tagged
// - "// No build information available", if proper git information is not available
#endif
//! git will put "#define GIT_COMMIT_ID ..." on the next line inside archives. $Format:%n#define GIT_COMMIT_ID "%H"$