From 4d22f4715068d0530fd3a0471a3bf6de2573de53 Mon Sep 17 00:00:00 2001 From: graichen Date: Tue, 7 Jan 1997 06:52:57 +0000 Subject: [PATCH] don't use LDADD+=-ltermlib on the mips - because it causes problems with the linker (weak symbols) --- lib/libcurses/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libcurses/Makefile b/lib/libcurses/Makefile index ca22e03611f..95a3a63fba8 100644 --- a/lib/libcurses/Makefile +++ b/lib/libcurses/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 1996/12/16 08:43:22 tholo Exp $ +# $OpenBSD: Makefile,v 1.10 1997/01/07 06:52:57 graichen Exp $ LIB= curses SRCS= hardscroll.c lib_acs.c lib_delch.c lib_insstr.c lib_options.c \ @@ -13,7 +13,9 @@ SRCS= hardscroll.c lib_acs.c lib_delch.c lib_insstr.c lib_options.c \ lib_color.c lib_insch.c lib_newterm.c lib_scroll.c lib_data.c \ lib_insdel.c lib_keyname.c lib_newwin.c lib_scrreg.c lib_gen.c CFLAGS+= -I. -I${.CURDIR} -DTERMIOS -DEXTERN_TERMINFO +.if ${MACHINE_ARCH} != "mips" LDADD+= -ltermlib +.endif MAN= curs_addch.3 curs_addchstr.3 curs_addstr.3 curs_attr.3 curs_beep.3 \ curs_bkgd.3 curs_border.3 curs_clear.3 curs_color.3 curs_delch.3 \ curs_deleteln.3 curs_getch.3 curs_getstr.3 curs_getyx.3 curs_inch.3 \ -- 2.20.1