Source-Changes-HG archive

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

[src/trunk]: src/tools/dbsym silent when we don't have -ldl



details:   https://anonhg.NetBSD.org/src/rev/224b8b391757
branches:  trunk
changeset: 343385:224b8b391757
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 01 14:18:16 2016 +0000

description:
silent when we don't have -ldl

diffstat:

 tools/dbsym/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r bad6167931d2 -r 224b8b391757 tools/dbsym/Makefile
--- a/tools/dbsym/Makefile      Mon Feb 01 14:17:21 2016 +0000
+++ b/tools/dbsym/Makefile      Mon Feb 01 14:18:16 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2016/02/01 13:48:01 christos Exp $
+#      $NetBSD: Makefile,v 1.9 2016/02/01 14:18:16 christos Exp $
 
 NOMAN= # defined
 
@@ -14,8 +14,8 @@
 
 .include "${.CURDIR}/../Makefile.host"
 
-LIBDL!=                grep -- -ldl ${TOOLCHAINOBJ}/build/ld/Makefile
+LIBDL!=                grep -- -ldl ${TOOLCHAINOBJ}/build/ld/Makefile || echo no
 
-.if !empty(LIBDL)
+.if ${LIBDL} != "no"
 LDADD+= -ldl
 .endif



Home | Main Index | Thread Index | Old Index