summaryrefslogtreecommitdiff
path: root/rts/package.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'rts/package.conf.in')
-rw-r--r--rts/package.conf.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in
index 0a096583c5..97cc4f98fa 100644
--- a/rts/package.conf.in
+++ b/rts/package.conf.in
@@ -56,6 +56,10 @@ extra-libraries:
#if USE_PAPI
, "papi"
#endif
+#ifdef USE_LIBDW
+ , "elf"
+ , "dw" /* for backtraces */
+#endif
#ifdef INSTALLING
include-dirs: INCLUDE_DIR PAPI_INCLUDE_DIR FFI_INCLUDE_DIR