diff options
author | Karel Gardas <karel.gardas@centrum.cz> | 2015-12-22 23:00:24 +0100 |
---|---|---|
committer | Karel Gardas <karel.gardas@centrum.cz> | 2015-12-23 07:43:57 +0100 |
commit | 5f08681639814bd3ff383b56734bba76d06a3cdc (patch) | |
tree | 04a9c4673f09400bf119a697f5f5c7b432abdc4a /rts | |
parent | 3e99980b072b45147c3066e8d7c3aa0fcdf5b0c8 (diff) | |
download | haskell-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.c | 3 |
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 |