- Notifications
You must be signed in to change notification settings - Fork4.9k
Commite74dd00
committed
Still further rethinking of build changes for macOS Mojave.
To avoid the sorts of problems complained of by Jakob Egger, it'd bebest if configure didn't emit any references to the sysroot path at all.In the case of PL/Tcl, we can do that just by keeping our hands off theTCL_INCLUDE_SPEC string altogether. In the case of PL/Perl, we need tosubstitute -iwithsysroot for -I in the compile commands, which is easilyhandled if we change to using a configure output variable that includesthe switch not only the directory name. Since PL/Tcl and PL/Pythonalready do it like that, this seems like good consistency cleanup anyway.Hence, this replaces the advice given to Perl-related extensions in commit5e22171; instead of writing "-I$(perl_archlibexp)/CORE", they shouldjust write "$(perl_includespec)". (The old way continues to work, but noton recent macOS.)It's still the case that configure needs to be aware of the sysrootpath internally, but that's cleaner than what we had before.As before, back-patch to all supported versions.Discussion:https://postgr.es/m/20840.1537850987@sss.pgh.pa.us1 parent26cb820 commite74dd00
File tree
7 files changed
+24
-38
lines changed- contrib
- hstore_plperl
- jsonb_plperl
- src
- pl/plperl
- template
7 files changed
+24
-38
lines changedLines changed: 7 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
668 | 668 |
| |
669 | 669 |
| |
670 | 670 |
| |
671 |
| - | |
| 671 | + | |
672 | 672 |
| |
673 | 673 |
| |
674 | 674 |
| |
| |||
9775 | 9775 |
| |
9776 | 9776 |
| |
9777 | 9777 |
| |
9778 |
| - | |
9779 |
| - | |
9780 |
| - | |
| 9778 | + | |
| 9779 | + | |
| 9780 | + | |
| 9781 | + | |
9781 | 9782 |
| |
9782 |
| - | |
| 9783 | + | |
9783 | 9784 |
| |
9784 | 9785 |
| |
9785 | 9786 |
| |
| |||
18114 | 18115 |
| |
18115 | 18116 |
| |
18116 | 18117 |
| |
18117 |
| - | |
18118 |
| - | |
18119 |
| - | |
18120 |
| - | |
18121 |
| - | |
18122 | 18118 |
| |
18123 | 18119 |
| |
18124 | 18120 |
| |
| |||
18136 | 18132 |
| |
18137 | 18133 |
| |
18138 | 18134 |
| |
18139 |
| - | |
| 18135 | + | |
18140 | 18136 |
| |
18141 | 18137 |
| |
18142 | 18138 |
| |
|
Lines changed: 7 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1045 | 1045 |
| |
1046 | 1046 |
| |
1047 | 1047 |
| |
1048 |
| - | |
1049 |
| - | |
1050 |
| - | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
1051 | 1052 |
| |
1052 |
| - | |
| 1053 | + | |
1053 | 1054 |
| |
1054 | 1055 |
| |
1055 |
| - | |
| 1056 | + | |
1056 | 1057 |
| |
1057 | 1058 |
| |
1058 | 1059 |
| |
| |||
2211 | 2212 |
| |
2212 | 2213 |
| |
2213 | 2214 |
| |
2214 |
| - | |
2215 |
| - | |
2216 |
| - | |
2217 |
| - | |
2218 |
| - | |
2219 | 2215 |
| |
2220 | 2216 |
| |
2221 | 2217 |
| |
| |||
2226 | 2222 |
| |
2227 | 2223 |
| |
2228 | 2224 |
| |
2229 |
| - | |
| 2225 | + | |
2230 | 2226 |
| |
2231 | 2227 |
| |
2232 | 2228 |
| |
|
Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
| 38 | + | |
| 39 | + |
Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
| 38 | + | |
| 39 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
331 | 331 |
| |
332 | 332 |
| |
333 | 333 |
| |
334 |
| - | |
| 334 | + | |
335 | 335 |
| |
336 | 336 |
| |
337 | 337 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
|
Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
8 |
| - | |
| 6 | + | |
| 7 | + | |
9 | 8 |
| |
10 | 9 |
| |
11 | 10 |
| |
|
0 commit comments
Comments
(0)