diff options
author | Ron Yorston <rmy@pobox.com> | 2024-02-02 14:15:09 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-02-02 14:18:28 +0000 |
commit | 5a6d050af3aca3c8710e781e7082adec801201c8 (patch) | |
tree | c538487c14b7b17a567a89c56fe3601c91a6c1cf | |
parent | 8dee37d53a47b8f96ba609d65d85438ef4e14fea (diff) | |
download | busybox-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.src | 1 |
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 | |||
173 | lib-$(CONFIG_MKFS_REISER) += find_mount_point.o | 173 | lib-$(CONFIG_MKFS_REISER) += find_mount_point.o |
174 | lib-$(CONFIG_FSCK_MINIX) += find_mount_point.o | 174 | lib-$(CONFIG_FSCK_MINIX) += find_mount_point.o |
175 | lib-$(CONFIG_MOUNT) += find_mount_point.o | 175 | lib-$(CONFIG_MOUNT) += find_mount_point.o |
176 | lib-$(CONFIG_STAT) += find_mount_point.o | ||
176 | 177 | ||
177 | lib-$(CONFIG_HWCLOCK) += rtc.o | 178 | lib-$(CONFIG_HWCLOCK) += rtc.o |
178 | lib-$(CONFIG_RTCWAKE) += rtc.o | 179 | lib-$(CONFIG_RTCWAKE) += rtc.o |