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

MacPorts noreply at macports.org
Sat May 4 07:45:24 UTC 2019


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

Comment (by jmroot):

 Replying to [comment:18 jeremyhu]:
 >   * If -isysroot is on the command line, it is used. Otherwise ...
 >   * If system headers are installed, they are used (no sysroot is set).
 Otherwise ...
 >   * If xcrun finds a major-version matching SDK in the selected in
 /Library/Developer/SDKs, it will use it.   Otherwise ...
 >   * If xcrun finds a macosx SDK in the selected Xcode.app or in
 /Library/Developer/SDKs, it will use it.

 Do you mean`/Library/Developer/CommandLineTools/SDKs` rather than
 `/Library/Developer/SDKs`? Because the former is where MacPorts seems to
 look.

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


More information about the macports-tickets mailing list