[MacPorts] #60987: meson: not finding pkg-config when building universal when using cross-files
MacPorts
noreply at macports.org
Thu Aug 13 16:08:50 UTC 2020
#60987: meson: not finding pkg-config when building universal when using cross-
files
-----------------------------+--------------------
Reporter: kencu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: meson graphene |
-----------------------------+--------------------
Comment (by kencu):
If using a cross file, I think {{{pkg-config}}} and friends are never
found unless specified, so long as {{{allow_default_for_cross=False}}}.
For MacPorts' purposes, this is just not what we want, and none of our
other build systems work like that.
If we change to {{{allow_default_for_cross=True}}} then things will work
like everyone would expect them to work for MacPorts, and you can still
override them with a crossfile of your own construction if you are
building for ChromeOS on Apple Silicon with and x86_64 toolchain, or some
other bastardization of a build plan.
--
Ticket URL: <https://trac.macports.org/ticket/60987#comment:27>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list