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