[MacPorts] #57612: libtool does not respect -syslibroot when linking

MacPorts noreply at macports.org
Fri Nov 16 00:15:33 UTC 2018


#57612: libtool does not respect -syslibroot when linking
---------------------+--------------------
  Reporter:  kencu   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------

Comment (by kencu):

 As I've thought about this more, it seems that perhaps `libtool` is
 actually doing the right thing, as far as it sees it. It does not think it
 should have to pass `-isysroot` to the linker, so it doesn't.

 What is unexpected, then is that `clang` does not pass along the
 `-syslibroot` to the linker, it seems. It only works if `clang` sees
 `-isysroot`. I'll try to do some verbose builds and see if I can get a
 cleaner idea of what is being sent to whom.

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


More information about the macports-tickets mailing list