Module Name: src
Committed By: christos
Date: Mon Feb 1 14:18:16 UTC 2016
Modified Files:
src/tools/dbsym: Makefile
Log Message:
silent when we don't have -ldl
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tools/dbsym/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/dbsym/Makefile
diff -u src/tools/dbsym/Makefile:1.8 src/tools/dbsym/Makefile:1.9
--- src/tools/dbsym/Makefile:1.8 Mon Feb 1 08:48:01 2016
+++ src/tools/dbsym/Makefile Mon Feb 1 09:18:16 2016
@@ -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 @@ IBERTYDIR= ${TOOLCHAINOBJ}/build/libiber
.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