build: Allow specifying extra object files when linking HOSTPROGS

pull/48/head
Diego Biurrun 11 years ago
parent 9eda9d3322
commit e8fcdebb17
  1. 2
      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)))

Loading…
Cancel
Save