Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
22 lines
632 B
Diff
22 lines
632 B
Diff
--- a/src/common/config_info.c
|
|
+++ b/src/common/config_info.c
|
|
@@ -118,7 +118,7 @@
|
|
i++;
|
|
|
|
configdata[i].name = pstrdup("PGXS");
|
|
+ strlcpy(path, "@dev@/lib", sizeof(path));
|
|
- get_pkglib_path(my_exec_path, path);
|
|
strlcat(path, "/pgxs/src/makefiles/pgxs.mk", sizeof(path));
|
|
cleanup_path(path);
|
|
configdata[i].setting = pstrdup(path);
|
|
--- a/src/Makefile.global.in
|
|
+++ b/src/Makefile.global.in
|
|
@@ -116,7 +116,7 @@ endif
|
|
|
|
libdir := @libdir@
|
|
|
|
-pkglibdir = $(libdir)
|
|
+pkglibdir = @out@/lib
|
|
ifeq "$(findstring pgsql, $(pkglibdir))" ""
|
|
ifeq "$(findstring postgres, $(pkglibdir))" ""
|
|
override pkglibdir := $(pkglibdir)/postgresql
|