meson: Fix support for empty darwin sysroot

Peter Eisentraut <peter@eisentraut.org>

Commit: c15631f0f596b2e6c4b03f24c03289d06d008783
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2023-03-27T07:11:08Z
Releases: 16.0
meson: Fix support for empty darwin sysroot

The -isysroot options should only be added if the sysroot resolved to
a nonempty string.  This matches the behavior in src/template/darwin
(also documented in installation.sgml).

Discussion: https://www.postgresql.org/message-id/flat/60765bf0-5027-4b23-9f78-4a365d28823f%40enterprisedb.com

Files

PathChange+/−
meson.build modified +4 −2

Discussion