From 536c060e99639724837fbdb0f97a3e651905e709 Mon Sep 17 00:00:00 2001 From: Weixiong Zheng Date: Tue, 12 Mar 2024 05:17:08 -0700 Subject: [PATCH] HAVE_SYMBOLIZE not defined when HAVE_LINK_H is --- src/symbolize.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/symbolize.h b/src/symbolize.h index d9ca52ddc..89035229d 100644 --- a/src/symbolize.h +++ b/src/symbolize.h @@ -80,7 +80,7 @@ #ifndef GLOG_NO_SYMBOLIZE_DETECTION # ifndef HAVE_SYMBOLIZE // defined by gcc -# if defined(HAVE_ELF_H) || defined(HAVE_SYS_EXEC_ELF_H) +# if defined(HAVE_ELF_H) || defined(HAVE_SYS_EXEC_ELF_H) || define(HAVE_LINK_H) # define HAVE_SYMBOLIZE # elif defined(GLOG_OS_MACOSX) && defined(HAVE_DLADDR) // Use dladdr to symbolize.