[MacPorts] #57975: ld64-97: have it deal with -rpath on Tiger without erroring?

MacPorts noreply at macports.org
Mon Jan 28 04:15:02 UTC 2019


#57975: ld64-97: have it deal with -rpath on Tiger without erroring?
-------------------------+----------------------
 Reporter:  kencu        |      Owner:  kencu
     Type:  enhancement  |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:  tiger        |       Port:  ld64-97
-------------------------+----------------------
 It is increasingly difficult to weed out `-rpath` link commands on the
 various build systems we deal with on MacPorts. `meson`, `waf`, and
 `libtool`, all assume `-rpath` compatibility on macOS. Keeping up with
 this is tricky.

 CMake is easy to control, thankfully. There are patches for `meson` to
 keep this at bay (already committed), and there is apparently a patch for
 `libtool` (although it doesn't work for me so far
 [https://wiki.debian.org/RpathIssue here]).

 It comes to mind that a more comprehensive way to manage this might be to
 patch `ld64-97` to accept the `-rpath` linker command on Tiger without
 erroring (that's very easy, two lines to comment out in Options.cpp) and
 then use that instead to generate a fully qualified path link command
 (that's a bit harder).

-- 
Ticket URL: <https://trac.macports.org/ticket/57975>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list