mirror of https://git.ffmpeg.org/ffmpeg.git
build: Allow specifying extra object files when linking HOSTPROGS
This commit is contained in:
parent
9eda9d3322
commit
e8fcdebb17
|
@ -42,7 +42,7 @@ $(HOSTOBJS): %.o: %.c
|
||||||
$(call COMPILE,HOSTCC)
|
$(call COMPILE,HOSTCC)
|
||||||
|
|
||||||
$(HOSTPROGS): %$(HOSTEXESUF): %.o
|
$(HOSTPROGS): %$(HOSTEXESUF): %.o
|
||||||
$(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $< $(HOSTLIBS)
|
$(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $^ $(HOSTLIBS)
|
||||||
|
|
||||||
$(OBJS): | $(sort $(dir $(OBJS)))
|
$(OBJS): | $(sort $(dir $(OBJS)))
|
||||||
$(HOBJS): | $(sort $(dir $(HOBJS)))
|
$(HOBJS): | $(sort $(dir $(HOBJS)))
|
||||||
|
|
Loading…
Reference in New Issue