aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-02-02 14:15:09 +0000
committerRon Yorston <rmy@pobox.com>2024-02-02 14:18:28 +0000
commit5a6d050af3aca3c8710e781e7082adec801201c8 (patch)
treec538487c14b7b17a567a89c56fe3601c91a6c1cf
parent8dee37d53a47b8f96ba609d65d85438ef4e14fea (diff)
downloadbusybox-w32-5a6d050af3aca3c8710e781e7082adec801201c8.tar.gz
busybox-w32-5a6d050af3aca3c8710e781e7082adec801201c8.tar.bz2
busybox-w32-5a6d050af3aca3c8710e781e7082adec801201c8.zip
win32: stat(1) requires find_mount_point()
In the Microsoft Windows build stat(1) requires find_mount_point() from libbb. This won't be available unless df(1) is also enabled. Add a dependency so stat(1) can be built without df(1). This may result in find_mount_point() being compiled needlessly in some upstream builds, but we can live with that. (GitHub issue #385)
-rw-r--r--libbb/Kbuild.src1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src
index 80fe8fef0..7785ef152 100644
--- a/libbb/Kbuild.src
+++ b/libbb/Kbuild.src
@@ -173,6 +173,7 @@ lib-$(CONFIG_MKE2FS) += find_mount_point.o
173lib-$(CONFIG_MKFS_REISER) += find_mount_point.o 173lib-$(CONFIG_MKFS_REISER) += find_mount_point.o
174lib-$(CONFIG_FSCK_MINIX) += find_mount_point.o 174lib-$(CONFIG_FSCK_MINIX) += find_mount_point.o
175lib-$(CONFIG_MOUNT) += find_mount_point.o 175lib-$(CONFIG_MOUNT) += find_mount_point.o
176lib-$(CONFIG_STAT) += find_mount_point.o
176 177
177lib-$(CONFIG_HWCLOCK) += rtc.o 178lib-$(CONFIG_HWCLOCK) += rtc.o
178lib-$(CONFIG_RTCWAKE) += rtc.o 179lib-$(CONFIG_RTCWAKE) += rtc.o