forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1e95bbc
committed
Fix SHLIB_PREREQS use in contrib, allowing PGXS builds
dblink and postgres_fdw use SHLIB_PREREQS = submake-libpq to build libpqfirst. This doesn't work in a PGXS build, because there is no libpq tobuild. So just omit setting SHLIB_PREREQS in this case.Note that PGXS users can still use SHLIB_PREREQS (although it is notdocumented). The problem here is only that contrib modules can be builtin-tree or using PGXS, and the prerequisite is only applicable in theformer case.Commit6697aa2 previously attempted toaddress this by creating a somewhat fake submake-libpq target inMakefile.global. That was not the right fix, and it was also done in anonportable way, so revert that.1 parente86507d commit1e95bbc
File tree
3 files changed
+3
-13
lines changed- contrib
- dblink
- postgres_fdw
- src
3 files changed
+3
-13
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
| |||
19 | 18 |
| |
20 | 19 |
| |
21 | 20 |
| |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
| |||
18 | 17 |
| |
19 | 18 |
| |
20 | 19 |
| |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
|
Lines changed: 1 addition & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
458 | 458 |
| |
459 | 459 |
| |
460 | 460 |
| |
461 |
| - | |
462 |
| - | |
463 |
| - | |
464 |
| - | |
| 461 | + | |
465 | 462 |
| |
466 | 463 |
| |
467 |
| - | |
468 |
| - | |
469 |
| - | |
470 | 464 |
| |
471 |
| - | |
472 | 465 |
| |
473 | 466 |
| |
474 | 467 |
| |
475 |
| - | |
476 |
| - | |
477 |
| - | |
478 | 468 |
| |
479 | 469 |
| |
480 | 470 |
| |
|
0 commit comments
Comments
(0)