[FFmpeg-cvslog] build: Allow specifying extra object files when linking HOSTPROGS

Diego Biurrun git at videolan.org
Fri Nov 15 12:24:37 CET 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Nov 10 22:19:07 2013 +0100| [e8fcdebb17fc59375fd9fc6c0a02a1d2e6d9fb23] | committer: Diego Biurrun

build: Allow specifying extra object files when linking HOSTPROGS

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e8fcdebb17fc59375fd9fc6c0a02a1d2e6d9fb23
---

 common.mak |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common.mak b/common.mak
index 41ef235..01c4b63 100644
--- a/common.mak
+++ b/common.mak
@@ -42,7 +42,7 @@ $(HOSTOBJS): %.o: %.c
 	$(call COMPILE,HOSTCC)
 
 $(HOSTPROGS): %$(HOSTEXESUF): %.o
-	$(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $< $(HOSTLIBS)
+	$(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $^ $(HOSTLIBS)
 
 $(OBJS):     | $(sort $(dir $(OBJS)))
 $(HOBJS):    | $(sort $(dir $(HOBJS)))



More information about the ffmpeg-cvslog mailing list