We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec4fa53 commit c9bc0ddCopy full SHA for c9bc0dd
CMakeLists.txt
@@ -202,6 +202,12 @@ list(APPEND GRAPPA_ENV
202
GLOG_v=1
203
)
204
205
+# libunwind must go after GLOG library in the linking list to resolve its references.
206
+# We force find_library to use static library because we are putting all dynamics before statics
207
+find_library(UNWIND_FOUND NAMES libunwind.a REQUIRED)
208
+message("UNWIND_FOUND: ${UNWIND_FOUND}")
209
+list(APPEND GRAPPA_STATIC_LIBS ${UNWIND_FOUND})
210
+
211
######################################################################
212
# Google flags
213
# in theory, it may come from third-party or from system directories,
0 commit comments