From f99e51e2ae0f35d2578556eab55e7b5d769af633 Mon Sep 17 00:00:00 2001 From: Lauri Tirkkonen Date: Fri, 4 Jan 2019 20:47:36 +0200 Subject: [PATCH] cmd-inet: link pppd plugins passprompt,pppoe with -lc --- usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/Makefile b/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/Makefile index 81d33305c4..93c49c1b9a 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/Makefile +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/Makefile @@ -49,11 +49,7 @@ $(MINCONN):= MAPFILES = mapfile-minconn $(PASSPROMPT):= MAPFILES = mapfile-passprompt $(PPPOE):= MAPFILES = mapfile-pppoe -# A bug in pmake causes redundancy when '+=' is conditionally assigned, so -# '=' is used with extra variables. -XXXLDLIBS = -$(PASSPROMPT):= XXXLDLIBS = -lc -LDLIBS += $(XXXLDLIBS) +$(PASSPROMPT) $(PPPOE):= LDLIBS += -lc CPPFLAGS += -I.. -I$(SRC)/uts/common -I$(SRCTOP)/include # XX64 -- this should not be needed -- fix me -- 2.11.4.GIT