Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/mdsetimage Add -ldl if it is needed
details: https://anonhg.NetBSD.org/src/rev/89ccb80495b4
branches: trunk
changeset: 343382:89ccb80495b4
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 01 13:44:52 2016 +0000
description:
Add -ldl if it is needed
diffstat:
tools/mdsetimage/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 672302e3078d -r 89ccb80495b4 tools/mdsetimage/Makefile
--- a/tools/mdsetimage/Makefile Mon Feb 01 12:56:06 2016 +0000
+++ b/tools/mdsetimage/Makefile Mon Feb 01 13:44:52 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2011/10/31 08:14:44 mrg Exp $
+# $NetBSD: Makefile,v 1.10 2016/02/01 13:44:52 christos Exp $
NOMAN= # defined
@@ -13,3 +13,9 @@
IBERTYDIR= ${TOOLCHAINOBJ}/build/libiberty
.include "${.CURDIR}/../Makefile.host"
+
+LIBDL!= grep -- -ldl ${TOOLCHAINOBJ}/build/ld/Makefile
+
+.if !empty(LIBDL)
+LDADD+= -ldl
+.endif
Home |
Main Index |
Thread Index |
Old Index