FreeBSD compat for match_fstype
authorChris Rees <utisoft@gmail.com>
Mon, 24 Jan 2011 16:10:02 +0000 (17:10 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 24 Jan 2011 16:10:02 +0000 (17:10 +0100)
Signed-off-by: Chris Rees <utisoft@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/Kbuild.src

index 0fa14515975e0c2f467cd2a7e1ab4b4dff1f5633..a22e7089286d6ed27c4832cad2c2402b9aff57ce 100644 (file)
@@ -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)