Il 25/02/2013 18:56, Marc-André Lureau ha scritto: > LINK = $(call quiet-command,\ > $(if $(filter %.lo %.la,$^),$(LIBTOOL) --mode=link --tag=CC \ > )$(CC) $(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS) $(LIBTOOLFLAGS) -o $@ \ > - $(sort $(filter %.o, $1)) $(filter-out %.o, $1) $(version-obj-y) \ > + $(sort $(filter %.o, $1)) $(filter-out %.o, $1) $(version-lobj-y) \ > $(LIBS),$(if $(filter %.lo %.la,$^),"lt LINK ", " LINK > ")"$(TARGET_DIR)$@")
Unfortunately, this does not work if linking without libtool. Paolo