[LIB]: textsearch.o needs to be obj-y not lib-y.
It exports symbols.
Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/lib/Makefile b/lib/Makefile
index 7f6eda4..beed158 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -36,7 +36,7 @@
obj-$(CONFIG_ZLIB_DEFLATE) += zlib_deflate/
obj-$(CONFIG_REED_SOLOMON) += reed_solomon/
-lib-$(CONFIG_TEXTSEARCH) += textsearch.o
+obj-$(CONFIG_TEXTSEARCH) += textsearch.o
obj-$(CONFIG_TEXTSEARCH_KMP) += ts_kmp.o
obj-$(CONFIG_TEXTSEARCH_FSM) += ts_fsm.o