tech-userlevel archive

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

Does sh built small need libedit, libterminfo



any reason why the following should not be applied?

RCS file: /cvsroot/src/bin/sh/Makefile,v
retrieving revision 1.96
diff -u -r1.96 Makefile
--- Makefile    12 Jul 2011 16:40:41 -0000      1.96
+++ Makefile    16 Oct 2011 10:57:16 -0000
@@ -15,8 +15,12 @@
 
 DPSRCS+=${GENHDRS}
 
-LDADD+=        -ll -ledit -lterminfo
-DPADD+=        ${LIBL} ${LIBEDIT} ${LIBTERMINFO}
+LDADD+=        -ll
+DPADD+=        ${LIBL}
+.ifndef SMALLPROG
+LDADD+=        -ledit -lterminfo
+DPADD+=        ${LIBEDIT} ${LIBTERMINFO}
+.endif
 
 LFLAGS=        -8      # 8-bit lex scanner for arithmetic
 

thanks
dieter


Home | Main Index | Thread Index | Old Index