From: Guo Xiao Date: Wed, 22 Nov 2017 19:19:03 +0000 (-0800) Subject: Link to unwind when using symbolizer X-Git-Tag: v2017.11.27.00~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=277bd447ad955b546ab248aa170004d1e3e9cd70;p=folly.git Link to unwind when using symbolizer Summary: Fix #673 Closes https://github.com/facebook/folly/pull/715 Reviewed By: meyering Differential Revision: D6394731 Pulled By: yfeldblum fbshipit-source-id: fb92828d0c633278601125dbc64cadf0cdbaa7fe --- diff --git a/folly/Makefile.am b/folly/Makefile.am index c046a8df..5c60a728 100644 --- a/folly/Makefile.am +++ b/folly/Makefile.am @@ -734,6 +734,10 @@ libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) libfolly_la_LIBADD = libfollybase.la libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl +if USE_SYMBOLIZER +libfolly_la_LDFLAGS += -lunwind +endif + FingerprintTables.cpp: generate_fingerprint_tables ./generate_fingerprint_tables CLEANFILES += FingerprintTables.cpp