forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9d23c15
committed
Further tweaking of PG_SYSROOT heuristics for macOS.
It emerges that in some phases of the moon (perhaps to do withdirectory entry order?), xcrun will report that the SDK path is /Library/Developer/CommandLineTools/SDKs/MacOSX.sdkwhich is normally a symlink to a version-numbered sibling directory.Our heuristic to skip non-version-numbered pathnames was rejectingthat, which is the wrong thing to do. We'd still like to end upwith a version-numbered PG_SYSROOT value, but we can have that bydereferencing the symlink.Like the previous fix, back-patch to all supported versions.Discussion:https://postgr.es/m/522433.1611089678@sss.pgh.pa.us1 parentc2dc1a7 commit9d23c15
1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 10 | + | |
16 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
0 commit comments
Comments
(0)