Commit 649cffc1 authored by Christiaan Baaij's avatar Christiaan Baaij
Browse files

Add comment on RPATH support

parent 6df11514
...@@ -1576,7 +1576,11 @@ checkRelocatable verbosity pkg lbi ...@@ -1576,7 +1576,11 @@ checkRelocatable verbosity pkg lbi
, depsPrefixRelative , depsPrefixRelative
] ]
where where
-- Check if the OS support relocatable builds -- Check if the OS support relocatable builds.
--
-- If you add new OS' to this list, and your OS supports dynamic libraries
-- and RPATH, make sure you add your OS to RPATH-support list of:
-- Cabal.Simple.GHC.getRPaths
checkOS checkOS
= unless (os `elem` [ OSX, Linux ]) = unless (os `elem` [ OSX, Linux ])
$ die $ "Operating system: " ++ display os ++ $ die $ "Operating system: " ++ display os ++
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment