gen-rand: fix dependency on strcasestr.o
authorJens Axboe <axboe@fb.com>
Sun, 20 Mar 2016 15:38:57 +0000 (09:38 -0600)
committerJens Axboe <axboe@fb.com>
Sun, 20 Mar 2016 15:38:57 +0000 (09:38 -0600)
Fails on systems where we have to pull that in (eg Windows).

Signed-off-by: Jens Axboe <axboe@fb.com>
Makefile

index a2502dcd5adf3e9b51cba6c3891d03f6698c3065..749a508058d6ebb186faf1bad2c557b59d8941fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -212,7 +212,8 @@ T_LFSR_TEST_OBJS += lib/lfsr.o gettime.o t/log.o t/debug.o t/arch.o
 T_LFSR_TEST_PROGS = t/lfsr-test
 
 T_GEN_RAND_OBJS = t/gen-rand.o
-T_GEN_RAND_OBJS += t/log.o t/debug.o lib/rand.o lib/pattern.o lib/strntol.o
+T_GEN_RAND_OBJS += t/log.o t/debug.o lib/rand.o lib/pattern.o lib/strntol.o \
+                       oslib/strcasestr.o
 T_GEN_RAND_PROGS = t/gen-rand
 
 ifeq ($(CONFIG_TARGET_OS), Linux)