forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4e4b900
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 parent3e2dc97 commit4e4b900
File tree
3 files changed
+3
-13
lines changed- contrib
- dblink
- postgres_fdw
- src
3 files changed
+3
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
| 459 | + | |
463 | 460 | | |
464 | 461 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | 462 | | |
469 | | - | |
470 | 463 | | |
471 | 464 | | |
472 | 465 | | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | 466 | | |
477 | 467 | | |
478 | 468 | | |
| |||
0 commit comments
Comments
(0)