[MacPorts] #69138: rust @1.75.0 : Does not build on macOS 10.11.6 - missing _getentropy and _clock_gettime
MacPorts
noreply at macports.org
Mon May 27 15:55:01 UTC 2024
#69138: rust @1.75.0 : Does not build on macOS 10.11.6 - missing _getentropy and
_clock_gettime
------------------------+---------------------------------
Reporter: snowflake | Owner: MarcusCalhoun-Lopez
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.8.99
Resolution: fixed | Keywords:
Port: rust |
------------------------+---------------------------------
Comment (by MarcusCalhoun-Lopez):
The MacPorts ecosystem adds `_getentroy()` and `_clock_gettime()` via the
[https://github.com/macports/macports-
ports/blob/master/_resources/port1.0/group/rust-1.0.tcl rust PG].\\
For non-Macports projects, you have to add the appropriate linker flags
manually so that the [https://github.com/macports/macports-legacy-support
legacy-support] library is found and used.\\
For example, adding `-Wl,/opt/local/lib/libMacportsLegacySystem.B.dylib`
to the linker flags.
Are you asking if `-Wl,/opt/local/lib/libMacportsLegacySystem.B.dylib` can
be **automatically** used as a linker flag?
--
Ticket URL: <https://trac.macports.org/ticket/69138#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list