summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rees2011-01-24 17:10:02 +0100
committerDenys Vlasenko2011-01-24 17:10:02 +0100
commit6b1ce455986ae547b9a0e1e238b90ba2a928599b (patch)
treec6e56aee0ae793045d3347604e99c6ab146784c0
parente22af94afb904b8f727b4eaff329e15783ec1cc7 (diff)
downloadbusybox-6b1ce455986ae547b9a0e1e238b90ba2a928599b.zip
busybox-6b1ce455986ae547b9a0e1e238b90ba2a928599b.tar.gz
FreeBSD compat for match_fstype
Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/Kbuild.src3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src
index 0fa1451..a22e708 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)