]> git.saurik.com Git - redis.git/commitdiff
Wait for Lua to be built before linking redis-server
authorPieter Noordhuis <pcnoordhuis@gmail.com>
Wed, 27 Jul 2011 12:46:17 +0000 (14:46 +0200)
committerPieter Noordhuis <pcnoordhuis@gmail.com>
Wed, 27 Jul 2011 12:47:02 +0000 (14:47 +0200)
src/Makefile

index ee4bfc5001986fa6dee246fcb33b63a43a246273..a45002de2973cea11325fa00ae0eaba9fd669f2c 100644 (file)
@@ -169,7 +169,7 @@ dependencies:
 ../deps/jemalloc/lib/libjemalloc.a:
        cd ../deps/jemalloc && ./configure $(JEMALLOC_CFLAGS) --with-jemalloc-prefix=je_ --enable-cc-silence && $(MAKE) lib/libjemalloc.a
 
-redis-server: $(OBJ)
+redis-server: dependencies $(OBJ)
        $(QUIET_LINK)$(CC) -o $(PRGNAME) $(CCOPT) $(DEBUG) $(OBJ) $(CCLINK) $(ALLOC_LINK) ../deps/lua/src/liblua.a
 
 redis-benchmark: dependencies $(BENCHOBJ)