On Aug 9, 2020, at 12:59, David Mathog <[email protected]> wrote: > >> How are you even supposed to find out? > > pkg-config, in any Posix environment. Within a pure Windows > environment or on some obscure OS, I have no idea. Just skip this > test if it is not supported in a given environment? Better that it > works in some environments than in none.
Just to be clear, pkg-config is not part of any Posix standard, AFAIK, so you cannot depend on it being available. For example, Apple does not include pkg-config in macOS releases (although third-party package distributors like Homebrew and MacPorts do optionally provide it for their packages). And use of pkg-config doesn't solve finding dependencies at run time, which may be a different environment than that at build time. -- Ned Deily [email protected] -- [] -- Distutils-SIG mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/7SABV5LJNAGTN24NJPMVYJASHZMPJKLC/
