From 2a1136620ddf406feb426af14fc010c81a9d7731 Mon Sep 17 00:00:00 2001 From: Rui Paulo Date: Wed, 3 Dec 2014 03:05:15 +0000 Subject: [PATCH] Switch gpioctl(8) to LIBADD. --- share/mk/src.libnames.mk | 1 + usr.sbin/gpioctl/Makefile | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index 60f395bc2c47..ccae524b3afc 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -84,6 +84,7 @@ _LIBRARIES= \ figpar \ geom \ gnuregex \ + gpio \ gssapi \ gssapi_krb5 \ hdb \ diff --git a/usr.sbin/gpioctl/Makefile b/usr.sbin/gpioctl/Makefile index d4804e90951b..c0a907b0f551 100644 --- a/usr.sbin/gpioctl/Makefile +++ b/usr.sbin/gpioctl/Makefile @@ -5,7 +5,6 @@ MAN= gpioctl.8 CFLAGS+= -I${.CURDIR}/../../lib/libgpio -DPADD+= ${LIBGPIO} -LDADD+= -lgpio +LIBADD= gpio .include