summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-09-26 16:06:28 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-11-06 08:05:57 -0500
commitce9e2a1a9307bf43ead278dd1fc8db4325d82340 (patch)
treebd134ac511b2d20755290d9b63505cffeb2a9518 /mk
parent3ce18700f80a12c48a029b49c6201ad2410071bb (diff)
downloadhaskell-ce9e2a1a9307bf43ead278dd1fc8db4325d82340.tar.gz
configure: Add --with-libdw-{includes,libraries} flags
Fixing #17255.
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 50b8aef610..eff6b366e9 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -363,6 +363,9 @@ UseSystemLibFFI=@UseSystemLibFFI@
FFILibDir=@FFILibDir@
FFIIncludeDir=@FFIIncludeDir@
+LibdwLibDir=@LibdwLibDir@
+LibdwIncludeDir=@LibdwIncludeDir@
+
# GHC needs arch-specific tweak at least in
# rts/Libdw.c:set_initial_registers()
GhcRtsWithLibdw=$(strip $(if $(filter $(TargetArch_CPP),i386 x86_64 s390x),@UseLibdw@,NO))