summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian1997-01-14 22:58:10 +0000
committerBruce Momjian1997-01-14 22:58:10 +0000
commit68de42dff33ff696f229d8f05efad4b323fbceb0 (patch)
treef0e0f1ee015af2cccec6c7809251bb185b5f3d7d /src
parent60e6d6fe0fa5ff8828e3ba6836306af6a4916174 (diff)
Change to handle bsdi 3.0.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile.global b/src/Makefile.global
index d56ff536992..c412824b79b 100644
--- a/src/Makefile.global
+++ b/src/Makefile.global
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.93 1997/01/14 16:10:54 momjian Exp $
+# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.94 1997/01/14 22:58:10 momjian Exp $
#
# NOTES
# Essentially all Postgres make files include this file and use the
@@ -409,7 +409,10 @@ ifeq ($(PRE_BSDI_2_1), false)
# cc is gcc v1.42
# gcc is gcc v2.7.2
LEX= lex
- LDADD_BE= -ltermcap -ldl -lipc
+ LDADD_BE= -ltermcap -ldl
+ ifeq ($(shell uname -r), 2.1)
+ LDADD_BE+= -lipc
+ endif
else
# cc is gcc v1.42
# gcc is gcc v2.6.3