Skip to content

Commit

Permalink
hurd: Enable using $ORIGIN in RPATH
Browse files Browse the repository at this point in the history
GNU/Hurd fully supports RPATH and the $ORIGIN development, and we indeed
want to use it for relocatable installations shipped in Debian GNU/Hurd.
  • Loading branch information
sthibaul committed Nov 14, 2023
1 parent 21b858f commit c3d91d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/Simple/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2022,7 +2022,7 @@ getRPaths lbi clbi | supportRPaths hostOS = do
supportRPaths Android = False
supportRPaths Ghcjs = False
supportRPaths Wasi = False
supportRPaths Hurd = False
supportRPaths Hurd = True
supportRPaths Haiku = False
supportRPaths (OtherOS _) = False
-- Do _not_ add a default case so that we get a warning here when a new OS
Expand Down
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/Simple/GHCJS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@ getRPaths lbi clbi | supportRPaths hostOS = do
supportRPaths Android = False
supportRPaths Ghcjs = False
supportRPaths Wasi = False
supportRPaths Hurd = False
supportRPaths Hurd = True
supportRPaths Haiku = False
supportRPaths (OtherOS _) = False
-- Do _not_ add a default case so that we get a warning here when a new OS
Expand Down
3 changes: 3 additions & 0 deletions changelog.d/pr-9441
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
synopsis: Enable using $ORIGIN in RPATH on GNU/Hurd
packages: Cabal
prs: #9441

0 comments on commit c3d91d8

Please sign in to comment.