[MacPorts] #61243: libtool @2.4.6_9: link mode ignores specified compiler

MacPorts noreply at macports.org
Wed Jan 1 19:22:14 UTC 2025


#61243: libtool @2.4.6_9: link mode ignores specified compiler
---------------------------+----------------------
  Reporter:  chrstphrchvz  |      Owner:  larryv
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.3
Resolution:                |   Keywords:
      Port:  libtool       |
---------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:8 kencu]:
 > I have had success overriding CC and CXX with the system installed
 glibtool, but it is ignoring attempts to override the linker using LD so
 far. The libtool script is not very readable to see exactly why that is a
 problem.

 Script can patched in post-destroot to fix compilers from being hardcoded
 back to variables to be picked from env.
 Unfortunately, direct picking from env does not seem to work at least for
 some dependents, but explicit passing of correct `CC` and `CXX` values
 works.

-- 
Ticket URL: <https://trac.macports.org/ticket/61243#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list