diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-12-17 03:52:49 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-12-17 03:52:49 +0000 |
| commit | 1ef38f26919bec1b9d4b4a9273dec4d992a88040 (patch) | |
| tree | dfcc13a78500a929e90c0e112a242678b7a148fb /src/makefiles/Makefile.darwin | |
| parent | 480777e56cb56d16b91656dac505e6e664c3aad9 (diff) | |
| download | postgresql-1ef38f26919bec1b9d4b4a9273dec4d992a88040.tar.gz | |
In a PGXS build, expect to find the postgres executable already installed,
rather than in $(top_builddir)/src/backend/postgres. Sean Chittenden
Diffstat (limited to 'src/makefiles/Makefile.darwin')
| -rw-r--r-- | src/makefiles/Makefile.darwin | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.darwin b/src/makefiles/Makefile.darwin index cad692dc4c..9d823a76a8 100644 --- a/src/makefiles/Makefile.darwin +++ b/src/makefiles/Makefile.darwin @@ -3,8 +3,13 @@ AWK= awk DLSUFFIX = .so CFLAGS_SL = + +ifdef PGXS +BE_DLLLIBS= -bundle_loader $(DESTDIR)$(bindir)/postgres +else BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres - +endif + # Rule for building shared libs (currently used only for regression test # shlib ... should go away, since this is not really enough knowledge) %.so: %.o |
