Move darwin sysroot determination into separate file
The sysroot determination is fairly complex and will soon also be needed when
building with meson. Instead of duplicating the logic, move it to a dedicated
shell script invoked both by configure and meson.
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/2180a97c-c026-1b6c-cec8-d6e499f97017@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/05519126a02ee39bf0957d3d85a1da5bd7e1c09c
Modified Files
--------------
src/template/darwin | 41 ++++++-----------------------------------
src/tools/darwin_sysroot | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+), 35 deletions(-)