summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global.in3
-rw-r--r--src/makefiles/Makefile.unixware2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index ef2556784e8..eaa3bf30420 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -1,5 +1,5 @@
# -*-makefile-*-
-# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.110 2000/11/05 21:04:07 petere Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.111 2000/11/09 18:18:42 petere Exp $
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -165,6 +165,7 @@ FLEXFLAGS = @FLEXFLAGS@ $(LFLAGS)
LIBS = @LIBS@
LD = @LD@
with_gnu_ld = @with_gnu_ld@
+ld_R_works = @ld_R_works@
LDFLAGS = @LDFLAGS@ $(LIBS)
LDREL = -r
LDOUT = -o
diff --git a/src/makefiles/Makefile.unixware b/src/makefiles/Makefile.unixware
index 6a8d3829489..698ea98118e 100644
--- a/src/makefiles/Makefile.unixware
+++ b/src/makefiles/Makefile.unixware
@@ -1,6 +1,6 @@
AROPT = crs
export_dynamic = -Wl,-Bexport
-ifneq (,$(findstring uw7.1, $(host_os)))
+ifeq ($(ld_R_works), yes)
rpath = -Wl,-R$(libdir)
endif
DLSUFFIX = .so