From 248c9bdfcb908ad4f7edaf7a3edd10e9ed3b58e4 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 19 Jan 2006 21:19:12 +0000
Subject: [PATCH] Remove $(DESTDIR) from the pgxs BE_DLLLIBS= -L path for AIX
 and Darwin.

---
 src/makefiles/Makefile.aix    | 2 +-
 src/makefiles/Makefile.darwin | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/makefiles/Makefile.aix b/src/makefiles/Makefile.aix
index 3b21a74c92b..a9c64d71c54 100644
--- a/src/makefiles/Makefile.aix
+++ b/src/makefiles/Makefile.aix
@@ -22,7 +22,7 @@ IMPSUFF= .imp
 POSTGRES_IMP= postgres$(IMPSUFF)
 
 ifdef PGXS
-BE_DLLLIBS= -Wl,-bI:$(DESTDIR)$(bindir)/postgres/$(POSTGRES_IMP)
+BE_DLLLIBS= -Wl,-bI:$(bindir)/postgres/$(POSTGRES_IMP)
 else
 BE_DLLLIBS= -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP)
 endif
diff --git a/src/makefiles/Makefile.darwin b/src/makefiles/Makefile.darwin
index 9d823a76a85..9e254ee04b0 100644
--- a/src/makefiles/Makefile.darwin
+++ b/src/makefiles/Makefile.darwin
@@ -5,7 +5,7 @@ DLSUFFIX = .so
 CFLAGS_SL =
 
 ifdef PGXS
-BE_DLLLIBS= -bundle_loader $(DESTDIR)$(bindir)/postgres
+BE_DLLLIBS= -bundle_loader $(bindir)/postgres
 else
 BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres
 endif
-- 
GitLab