#3521: ld on mac won't allow -rpath unless you specify macosx_version_min 10.5
--------------------+-------------------------------------------------------
Reporter: mwotton | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.11 | Severity: normal
Keywords: | Testcase:
Os: MacOS X | Architecture: Unknown/Multiple
--------------------+-------------------------------------------------------
when trying to build a Haskell shared library on Mac OS X, linking fails
with this error:
ld: -rpath can only be used when targeting Mac OS X 10.5 or later
this can be tracked down to the DriverPipeline.hs specifying
macosx_version_min to be 10.3. This can be hacked around by passing 10.5
again, but is a bit fragile because ld on Mac takes the last version
specified rather than the highest. There may be good reasons to retain
<10.5 compatibility, but from IRC conversation with JaffaCake, ghc depends
on 10.5 anyway, so this _should_ make no difference.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3521>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs