fate/api-tests: Added dependency on $(FF_DEP_LIBS)
authorGeorge Boyle <george@thebuds.net>
Sun, 28 Jun 2015 22:47:19 +0000 (23:47 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 28 Jun 2015 23:01:44 +0000 (01:01 +0200)
This ensures they are built before the tests are run.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tests/api/Makefile

index 86c0cf2..9f82be2 100644 (file)
@@ -9,7 +9,7 @@ $(APITESTOBJS): | $(sort $(dir $(APITESTOBJS)))
 $(APITESTOBJS) $(APITESTOBJS:.o=.i): CPPFLAGS += -DTEST
 $(APITESTOBJS) $(APITESTOBJS:.o=.i): CFLAGS += -Umain
 
-$(APITESTPROGS): %$(EXESUF): %.o $(EXEOBJS)
+$(APITESTPROGS): %$(EXESUF): %.o $(EXEOBJS) $(FF_DEP_LIBS)
        $(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(filter %.o,$^) $(FF_DEP_LIBS) $(FFEXTRALIBS) $(ELIBS)
 
 testclean::