summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libg++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libg++/Makefile')
-rw-r--r--gnu/lib/libg++/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/lib/libg++/Makefile b/gnu/lib/libg++/Makefile
index a9199fd..7127892 100644
--- a/gnu/lib/libg++/Makefile
+++ b/gnu/lib/libg++/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.19 1997/05/06 00:49:28 jdp Exp $
+# $Id: Makefile,v 1.20 1997/05/23 08:33:55 asami Exp $
#
GPPDIR= ${.CURDIR}/../../../contrib/libg++
@@ -15,6 +15,11 @@ SHLIB_MINOR= 0
CFLAGS+= -I${GPPDIR}/include -I${DESTDIR}/usr/include/g++
CXXFLAGS+= -I${GPPDIR}/include -I${GPPDIR}/libio -I${GPPDIR}/libstdc++
+# Strictly speaking, libg++ should depend on libstdc++, but 1) It doesn't
+# work (ld freaks out), and 2) the c++ driver adds it explicitly (which works).
+LDADD+= -lm
+DPADD+= ${LIBM}
+
# C source
SRCS= bitand.c bitany.c bitblt.c bitclear.c bitcopy.c bitcount.c \
bitinvert.c bitlcomp.c bitset1.c bitxor.c timer.c
OpenPOWER on IntegriCloud