Skip to content

Commit b8efb93

Browse files
authored
Merge pull request #11042 from hasufell/issue-11034-2
Allow relocatable builds on FreeBSD
2 parents 0278910 + 47d24df commit b8efb93

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Cabal/src/Distribution/Simple/Configure.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2809,7 +2809,7 @@ checkRelocatable verbosity pkg lbi =
28092809
-- and RPATH, make sure you add your OS to RPATH-support list of:
28102810
-- Distribution.Simple.GHC.getRPaths
28112811
checkOS =
2812-
unless (os `elem` [OSX, Linux]) $
2812+
unless (os `elem` [OSX, Linux, FreeBSD]) $
28132813
dieWithException verbosity $
28142814
NoOSSupport os "relocatable builds"
28152815
where

changelog.d/pr-11042

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
synopsis: 'Allow relocatable builds on FreeBSD'
3+
packages: [Cabal, cabal-install]
4+
prs: 11042
5+
---
6+
7+
Properly enables relocatable builds on FreeBSD, just like on
8+
OSX and Linux.

0 commit comments

Comments
 (0)