Skip to content

Commit 1bb2362

Browse files
committed
Allow relocatable builds on FreeBSD
1 parent 8bd5cc3 commit 1bb2362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cabal/src/Distribution/Simple/Configure.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2767,7 +2767,7 @@ checkRelocatable verbosity pkg lbi =
27672767
-- and RPATH, make sure you add your OS to RPATH-support list of:
27682768
-- Distribution.Simple.GHC.getRPaths
27692769
checkOS =
2770-
unless (os `elem` [OSX, Linux]) $
2770+
unless (os `elem` [OSX, Linux, FreeBSD]) $
27712771
dieWithException verbosity $
27722772
NoOSSupport os "relocatable builds"
27732773
where

0 commit comments

Comments
 (0)