Skip to content

Enable Cabal's own RPATH handling on *BSD and Solaris #7382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cabal/src/Distribution/Simple/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1734,10 +1734,10 @@ getRPaths lbi clbi | supportRPaths hostOS = do
case compid of
CompilerId GHC ver | ver >= mkVersion [7,10,2] -> True
_ -> False
supportRPaths OpenBSD   = False
supportRPaths NetBSD   = False
supportRPaths DragonFly = False
supportRPaths Solaris = False
supportRPaths OpenBSD   = True
supportRPaths NetBSD   = True
supportRPaths DragonFly = True
supportRPaths Solaris = True
supportRPaths AIX = False
supportRPaths HPUX = False
supportRPaths IRIX = False
Expand Down
8 changes: 4 additions & 4 deletions Cabal/src/Distribution/Simple/GHCJS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1505,10 +1505,10 @@ getRPaths lbi clbi | supportRPaths hostOS = do
case compid of
CompilerId GHC ver | ver >= mkVersion [7,10,2] -> True
_ -> False
supportRPaths OpenBSD   = False
supportRPaths NetBSD   = False
supportRPaths DragonFly = False
supportRPaths Solaris = False
supportRPaths OpenBSD   = True
supportRPaths NetBSD   = True
supportRPaths DragonFly = True
supportRPaths Solaris = True
supportRPaths AIX = False
supportRPaths HPUX = False
supportRPaths IRIX = False
Expand Down
3 changes: 3 additions & 0 deletions changelog.d/pr-7382
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
synopsis: Enable Cabal's own RPATH handling on *BSD and Solaris
packages: Cabal
prs: #7382