aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/Kbuild.src3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src
index 0fa145159..a22e70892 100644
--- a/libbb/Kbuild.src
+++ b/libbb/Kbuild.src
@@ -59,7 +59,6 @@ lib-y += llist.o
lib-y += login.o
lib-y += make_directory.o
lib-y += makedev.o
-lib-y += match_fstype.o
lib-y += hash_md5_sha.o
# Alternative (disabled) MD5 implementation
#lib-y += hash_md5prime.o
@@ -120,6 +119,8 @@ lib-y += xgethostbyname.o
lib-y += xreadlink.o
lib-y += xrealloc_vector.o
+lib-$(CONFIG_PLATFORM_LINUX) += match_fstype.o
+
lib-$(CONFIG_FEATURE_UTMP) += utmp.o
# A mix of optimizations (why build stuff we know won't be used)