summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-07-27 14:46:17 +0200
committerPieter Noordhuis <pcnoordhuis@gmail.com>2011-07-27 14:47:02 +0200
commit4d6bf65c42d213c716c5878343b9e1456ffcd327 (patch)
treed086513cef19215c3f8801f9937ead73b8955073 /src/Makefile
parent2d7162bb1db39bbdd80e3d2c99899f6d9ac4b2d6 (diff)
downloadredis-4d6bf65c42d213c716c5878343b9e1456ffcd327.tar.gz
Wait for Lua to be built before linking redis-server
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index ee4bfc500..a45002de2 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -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)