summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--support/Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4925551f05..572f1be162 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-08-24  DJ Delorie  <dj@delorie.com>
+
+	* support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
+	$(libunwind).
+
 2018-08-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
         [BZ #23400]
diff --git a/support/Makefile b/support/Makefile
index b5fcb6ed86..0ed00212cb 100644
--- a/support/Makefile
+++ b/support/Makefile
@@ -165,7 +165,7 @@ ifeq (,$(CXX))
 LINKS_DSO_PROGRAM = links-dso-program-c
 else
 LINKS_DSO_PROGRAM = links-dso-program
-LDLIBS-links-dso-program = -lstdc++ -lgcc_s
+LDLIBS-links-dso-program = -lstdc++ -lgcc -lgcc_s $(libunwind)
 endif
 
 others: \