summaryrefslogtreecommitdiff
path: root/lib/libm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/Makefile')
-rw-r--r--lib/libm/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile
index c731e7098dd..32bfb0587e7 100644
--- a/lib/libm/Makefile
+++ b/lib/libm/Makefile
@@ -1,5 +1,5 @@
# $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $
-# $OpenBSD: Makefile,v 1.7 1996/10/27 12:34:51 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 1996/10/27 19:57:45 downsj Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -140,10 +140,12 @@ LINKS= /usr/lib/libm.a /usr/lib/libm_i387.a
.if !defined(NOPROFILE)
LINKS+= /usr/lib/libm_p.a /usr/lib/libm_i387_p.a
.endif
+.if !defined(NOPIC)
LINKS+= /usr/lib/libm.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
/usr/lib/libm_i387.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
LINKS+= /usr/lib/libm_pic.a /usr/lib/libm_i387_pic.a
.endif
+.endif
MLINKS+=erf.3 erfc.3
MLINKS+=exp.3 expm1.3 exp.3 log.3 exp.3 log10.3 exp.3 log1p.3 exp.3 pow.3