[MacPorts] #57612: clang does not respect -syslibroot when linking
MacPorts
noreply at macports.org
Sat Dec 8 18:02:57 UTC 2018
#57612: clang 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 ryandesign):
Replying to [comment:17 jeremyhu]:
> Please do NOT use -Wl,-syslibroot. Please use -isysroot, so the driver
and xcrun known what it is that you're requesting.
MacPorts base does use `-Wl,-syslibroot`. That's what Apple said to use
when universal binaries started to be a thing in 10.4, and it used to work
fine. If it changed at some point, that's annoying, but we would need to
know what that point is so that MacPorts base can be updated to do the
right thing, whatever the system or Xcode version.
--
Ticket URL: <https://trac.macports.org/ticket/57612#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list