Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/cron/bin/cron unbreak static build



details:   https://anonhg.NetBSD.org/src/rev/b979aee9a509
branches:  trunk
changeset: 824690:b979aee9a509
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 14 17:37:40 2017 +0000

description:
unbreak static build

diffstat:

 external/bsd/cron/bin/cron/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 54528c47f70c -r b979aee9a509 external/bsd/cron/bin/cron/Makefile
--- a/external/bsd/cron/bin/cron/Makefile       Wed Jun 14 17:21:04 2017 +0000
+++ b/external/bsd/cron/bin/cron/Makefile       Wed Jun 14 17:37:40 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2017/06/14 17:11:39 kamil Exp $
+#      $NetBSD: Makefile,v 1.6 2017/06/14 17:37:40 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -14,8 +14,8 @@
 .if (${MKPAM} != "no")
 SRCS+=         pam_auth.c
 CPPFLAGS+=     -DUSE_PAM
-DPADD+=                ${LIBPAM}
-LDADD+=                -lpam
+DPADD+=                ${LIBPAM} ${PAM_STATIC_DPADD}
+LDADD+=                -lpam ${PAM_STATIC_LDADD}
 .endif
 
 CWARNFLAGS.clang+=     -Wno-string-plus-int



Home | Main Index | Thread Index | Old Index