From 3a42764af783cd7f421105701288e07ee76353aa Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Tue, 1 Dec 2015 17:38:52 +0000 Subject: [PATCH] Fix underlinking in lib80211 and define static dependencies in src.libnames.mk so NO_SHARED works properly. Reported by: Manfred Antar Sponsored by: EMC / Isilon Storage Division --- lib/lib80211/Makefile | 2 ++ share/mk/src.libnames.mk | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/lib80211/Makefile b/lib/lib80211/Makefile index 24095107d656..e00017e7e43e 100644 --- a/lib/lib80211/Makefile +++ b/lib/lib80211/Makefile @@ -8,6 +8,8 @@ SRCS= lib80211_regdomain.c lib80211_ioctl.c INCSDIR= ${INCLUDEDIR}/lib80211 INCS= lib80211_regdomain.h lib80211_ioctl.h +LIBADD= sbuf bsdxml + MAN= lib80211.3 CFLAGS+=-I${.CURDIR} diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index 20f923a538c1..1bb0c4746266 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -162,6 +162,7 @@ _LIBRARIES= \ ypclnt \ z +_DP_80211= sbuf bsdxml _DP_archive= z bz2 lzma bsdxml .if ${MK_OPENSSL} != "no" _DP_archive+= crypto