git: 879a6b7b6280 - stable/12 - bin/df: add back linking with getmntops.c from sbin/mount
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Apr 2022 14:47:51 UTC
The branch stable/12 has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=879a6b7b628060a85a0f1787aa30ab6efbf1e0c1 commit 879a6b7b628060a85a0f1787aa30ab6efbf1e0c1 Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2022-04-18 14:44:30 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2022-04-18 14:44:30 +0000 bin/df: add back linking with getmntops.c from sbin/mount A last minute clean-up of the Makefile erroneously removed the definitions required to link against sbin/mount/getmntops.c which defines the iovec handling functions used for the unmounted device case (that has been removed from -CURRENT and 13-STABLE). Put back the definitions to make the build with MOUNT_CHAR_DEVS defined succeed. --- bin/df/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/df/Makefile b/bin/df/Makefile index bf1c72b884ac..b8e0ffc8c263 100644 --- a/bin/df/Makefile +++ b/bin/df/Makefile @@ -3,12 +3,14 @@ PACKAGE=runtime MOUNT= ${.CURDIR}/../../sbin/mount +.PATH: ${MOUNT} PROG= df SRCS= df.c CFLAGS+= -I${MOUNT} CFLAGS+= -DMOUNT_CHAR_DEVS +SRCS+= getmntopts.c LIBADD= xo util