Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libl Allow this to compile if MKSTATICLIB=no.



details:   https://anonhg.NetBSD.org/src/rev/bcb1edaa93a5
branches:  trunk
changeset: 580738:bcb1edaa93a5
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat May 07 00:23:01 2005 +0000

description:
Allow this to compile if MKSTATICLIB=no.
More of PR 29968 from Jukka Salmi.

diffstat:

 lib/libl/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r efc68ce6ea77 -r bcb1edaa93a5 lib/libl/Makefile
--- a/lib/libl/Makefile Fri May 06 23:02:39 2005 +0000
+++ b/lib/libl/Makefile Sat May 07 00:23:01 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2002/08/19 09:41:32 lukem Exp $
+#      $NetBSD: Makefile,v 1.12 2005/05/07 00:23:01 lukem Exp $
 
 NOPIC=         # defined
 
@@ -7,7 +7,9 @@
 LIB=           l
 SRCS=          libmain.c libyywrap.c
 
+.if ${MKSTATICLIB} != "no"
 LINKS=         ${LIBDIR}/libl.a ${LIBDIR}/libfl.a
+.endif
 
 .PATH:         ${NETBSDSRCDIR}/usr.bin/lex
 



Home | Main Index | Thread Index | Old Index