isElfTarget :: Action Bool
isElfTarget = anyTargetOs
[ "linux", "freebsd", "dragonfly", "openbsd", "netbsd", "solaris2", "kfreebsdgnu"
- , "haiku", "linux-android"
+ , "gnu", "haiku", "linux-android"
]
-- | Check whether the host OS supports the @-rpath@ linker option when
-- TODO: Windows supports lazy binding (but GHC doesn't currently support
-- dynamic way on Windows anyways).
hostSupportsRPaths :: Action Bool
-hostSupportsRPaths = anyHostOs ["linux", "darwin", "freebsd"]
+hostSupportsRPaths = anyHostOs ["linux", "darwin", "freebsd", "gnu"]
-- | Check whether the target supports GHCi.
ghcWithInterpreter :: Action Bool