summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorKarel Gardas <karel.gardas@centrum.cz>2015-12-22 23:00:24 +0100
committerKarel Gardas <karel.gardas@centrum.cz>2015-12-23 07:43:57 +0100
commit5f08681639814bd3ff383b56734bba76d06a3cdc (patch)
tree04a9c4673f09400bf119a697f5f5c7b432abdc4a /rts
parent3e99980b072b45147c3066e8d7c3aa0fcdf5b0c8 (diff)
downloadhaskell-5f08681639814bd3ff383b56734bba76d06a3cdc.tar.gz
- fix tests on OpenBSD which requires _DYNAMIC symbol
Summary: This patch adds _DYNAMIC symbol to the list of OpenBSD symbols. The patch fixes unknown _DYNAMIC symbol runtime linker error caused by recent update of unix library. Reviewers: bgamari, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1689
Diffstat (limited to 'rts')
-rw-r--r--rts/RtsSymbols.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index ffb5c39100..395a5f10b0 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -458,7 +458,8 @@
#if defined(openbsd_HOST_OS)
#define RTS_OPENBSD_ONLY_SYMBOLS \
- SymE_NeedsProto(__guard_local)
+ SymE_NeedsProto(__guard_local) \
+ SymE_NeedsProto(_DYNAMIC)
#else
#define RTS_OPENBSD_ONLY_SYMBOLS
#endif