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 <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]

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(-)

Reply via email to