Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/makefs/udf makefs(8): Fix tool build -- no libutil ...



details:   https://anonhg.NetBSD.org/src/rev/c04896486de4
branches:  trunk
changeset: 365178:c04896486de4
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Apr 10 09:22:35 2022 +0000

description:
makefs(8): Fix tool build -- no libutil DPADD if HOSTPROG.

diffstat:

 usr.sbin/makefs/udf/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r adc449bc68a2 -r c04896486de4 usr.sbin/makefs/udf/Makefile.inc
--- a/usr.sbin/makefs/udf/Makefile.inc  Sun Apr 10 00:42:29 2022 +0000
+++ b/usr.sbin/makefs/udf/Makefile.inc  Sun Apr 10 09:22:35 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.5 2022/04/06 13:29:16 reinoud Exp $
+#      $NetBSD: Makefile.inc,v 1.6 2022/04/10 09:22:35 riastradh Exp $
 #
 
 UDF=   ${NETBSDSRCDIR}/sys/fs/udf
@@ -11,8 +11,10 @@
 
 SRCS += udf_core.c udf_osta.c
 
+.if !defined(HOSTPROG)
 DPADD+=${LIBUTIL}
 LDADD+=-lutil -lprop
+.endif
 
 CWARNFLAGS.clang+=     -Wno-error=address-of-packed-member -Wno-error=constant-conversion
 CWARNFLAGS.gcc+=       ${GCC_NO_ADDR_OF_PACKED_MEMBER}



Home | Main Index | Thread Index | Old Index