From a92aa3bf493cd206fa2edef36426665ae182b7fa Mon Sep 17 00:00:00 2001 From: Sergey Lyubka <valenok@gmail.com> Date: Wed, 25 Sep 2013 18:37:17 +0100 Subject: [PATCH] Added unix_unit_test as a dependancy for mongoose --- build/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/Makefile b/build/Makefile index 42e39c04c..09628b5e3 100644 --- a/build/Makefile +++ b/build/Makefile @@ -66,13 +66,13 @@ unix_unit_test: $(LUA_SOURCES) Makefile # If not so, this can break some on some Linux distros which use # "-Wl,--as-needed" turned on by default in cc command. # Also, this is turned in many other distros in static linkage builds. -$(PROG): $(TINY_SOURCES) +$(PROG): $(TINY_SOURCES) unix_unit_test $(CC) $(TINY_SOURCES) -o $@ $(CFLAGS) -$(PROG)-lua: $(LUA_SOURCES) +$(PROG)-lua: $(LUA_SOURCES) unix_unit_test $(CC) $(LUA_SOURCES) -o $@ $(LUA_SQLITE_FLAGS) $(CFLAGS) -unix: unix_unit_test $(PROG) $(PROG)-lua +unix: $(PROG) $(PROG)-lua # Windows build $(PROG).exe: $(LUA_SOURCES) -- GitLab