summaryrefslogtreecommitdiffhomepage
path: root/libbb
diff options
context:
space:
mode:
authorChris Rees <utisoft@gmail.com>2011-01-24 17:10:02 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-01-24 17:10:02 +0100
commit6b1ce455986ae547b9a0e1e238b90ba2a928599b (patch)
treec6e56aee0ae793045d3347604e99c6ab146784c0 /libbb
parente22af94afb904b8f727b4eaff329e15783ec1cc7 (diff)
FreeBSD compat for match_fstype
Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-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)