scratchbox2-2.0-as-needed.patch 830 B

1234567891011121314151617181920212223
  1. diff --git a/utils/Makefile b/utils/Makefile
  2. index cf9b6c4..6f715d3 100644
  3. --- a/utils/Makefile
  4. +++ b/utils/Makefile
  5. @@ -6,7 +6,7 @@ $(D)/sb2-show: CFLAGS := $(CFLAGS) -Wall -W -Werror \
  6. -I$(SRCDIR)/include
  7. $(D)/sb2-show.o: preload/exported.h
  8. -$(D)/sb2-show: preload/libsb2.$(SHLIBEXT) $(D)/sb2-show.o
  9. +$(D)/sb2-show: $(D)/sb2-show.o preload/libsb2.$(SHLIBEXT)
  10. $(MKOUTPUTDIR)
  11. $(P)LD
  12. $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
  13. @@ -25,7 +25,7 @@ $(D)/sb2-interp-wrapper: CFLAGS := $(CFLAGS) -Wall -W -Werror \
  14. -I$(SRCDIR)/preload -Ipreload/ $(PROTOTYPEWARNINGS) \
  15. -I$(SRCDIR)/include
  16. -$(D)/sb2-interp-wrapper: preload/libsb2.$(SHLIBEXT) $(D)/sb2-interp-wrapper.o
  17. +$(D)/sb2-interp-wrapper: $(D)/sb2-interp-wrapper.o preload/libsb2.$(SHLIBEXT)
  18. $(MKOUTPUTDIR)
  19. $(P)LD
  20. $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -ldl