mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
edaecb41db
Fixes #15236 Two changes were needed: - pg_config from postgresql package wasn't reporting the correct location for the pgxs extension system, after the output split - json_c is now split in dev and out outputs, postgis configure doesn't find the library location properly Closes #15470
18 lines
470 B
Diff
18 lines
470 B
Diff
--- a/src/bin/pg_config/pg_config.c
|
|
+++ b/src/bin/pg_config/pg_config.c
|
|
@@ -220,11 +220,13 @@ show_sysconfdir(bool all)
|
|
static void
|
|
show_pgxs(bool all)
|
|
{
|
|
- char path[MAXPGPATH];
|
|
+ char path[MAXPGPATH] = "HARDCODED_PGXS_PATH";
|
|
|
|
if (all)
|
|
printf("PGXS = ");
|
|
+ /* commented out to be able to point to nix $out path
|
|
get_pkglib_path(mypath, path);
|
|
+ */
|
|
strlcat(path, "/pgxs/src/makefiles/pgxs.mk", sizeof(path));
|
|
cleanup_path(path);
|
|
printf("%s\n", path);
|