[FFmpeg-devel] [PATCH] fate/api-tests: Added dependency on $(FF_DEP_LIBS)

George Boyle george at thebuds.net
Mon Jun 29 00:47:19 CEST 2015


This ensures they are built before the tests are run.
---
 tests/api/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/api/Makefile b/tests/api/Makefile
index 86c0cf2..9f82be2 100644
--- a/tests/api/Makefile
+++ b/tests/api/Makefile
@@ -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::
-- 
2.4.4



More information about the ffmpeg-devel mailing list