Merge commit 'e8fcdebb17fc59375fd9fc6c0a02a1d2e6d9fb23'
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 15 Nov 2013 11:19:23 +0000 (12:19 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 15 Nov 2013 11:19:45 +0000 (12:19 +0100)
* commit 'e8fcdebb17fc59375fd9fc6c0a02a1d2e6d9fb23':
  build: Allow specifying extra object files when linking HOSTPROGS

Merged-by: Michael Niedermayer <michaelni@gmx.at>
common.mak

index 6479b08..b22badd 100644 (file)
@@ -116,7 +116,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)))