[MacPorts] #62665: py39-matplotlib Compiles But does NOT Link Properly on Lion

MacPorts noreply at macports.org
Sun Apr 11 01:49:04 UTC 2021


#62665: py39-matplotlib Compiles But does NOT Link Properly on Lion
----------------------------+------------------------
  Reporter:  RobK88         |      Owner:  reneeotten
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.4
Resolution:                 |   Keywords:  Lion
      Port:  py-matplotlib  |
----------------------------+------------------------

Comment (by reneeotten):

 Replying to [comment:2 jmroot]:
 > It's a matter of getting `-stdlib=libc++` into the relevant C++ compiler
 command. That is automatically included in `configure.cxxflags`, so should
 end up in the environment's `CXXFLAGS`, but that's no guarantee that the
 build system will actually use it. Odds are it's being left out on current
 OS versions too, that just doesn't cause problems because it's already the
 default.

 Yes, that is indeed the issue - the `-stdlib=libc++` is not added to the
 `clang++` commands, even though it is present in `CXXFLAGS` and the
 `setup.py` suggests that it's using that. I've fiddled around with it for
 the last hour or so but haven't figured out yet how to correct this...

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


More information about the macports-tickets mailing list