summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Henderson1997-01-14 08:19:41 +0000
committerBryan Henderson1997-01-14 08:19:41 +0000
commit182052767ad60e77e2ddbae8b18782b5f26ee269 (patch)
treeb81d256ba5836abb4366686b2a5b356ceef2997c
parent05b0f22900ad45bda04caa04f7094ebcf81da0f5 (diff)
Put back -lm for non-nextstep ports.
-rw-r--r--src/Makefile.global8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Makefile.global b/src/Makefile.global
index 5f577e8a2ac..f63e76d78ee 100644
--- a/src/Makefile.global
+++ b/src/Makefile.global
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.90 1997/01/14 06:41:51 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.91 1997/01/14 08:19:41 bryanh Exp $
#
# NOTES
# Essentially all Postgres make files include this file and use the
@@ -702,11 +702,15 @@ endif
ifeq ($(PORTNAME), nextstep)
-LDADD_BE+= -lipc -lm
+LDADD_BE+= -lipc
AROPT= rc
DLSUFFIX= .o
endif
+ifneq ($(PORTNAME), nextstep)
+LD_ADD+= -lm
+endif
+
# This goes here so that customization in Makefile.custom is effective
##############################################################################