[MacPorts] #60987: meson: not finding pkg-config when building universal when using cross-files

MacPorts noreply at macports.org
Thu Aug 13 16:18:28 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 Gcenx):

 Yes

 When {{{allow_default_for_cross=False}}} is set, pkg-config and friends
 are never found when using a crossfile, setting
 {{{allow_default_for_cross=True}}} pkg-config and friends are found as
 long as host and target match. If target and host don’t match then pkg-
 config and friends won’t be found.

 To clarify setting {{{allow_default_for_cross=True}}} restore the prior
 behavior from meson.

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


More information about the macports-tickets mailing list