patch-protocols_oscar_Makefile 856 B

123456789101112131415161718192021222324
  1. --- bitlbee-3.0.1.orig/protocols/oscar/Makefile 2010-11-24 23:44:00.000000000 +0100
  2. +++ bitlbee-3.0.1/protocols/oscar/Makefile 2011-03-03 22:40:43.000000000 +0100
  3. @@ -15,7 +15,7 @@ endif
  4. # [SH] Program variables
  5. objects = admin.o auth.o bos.o buddylist.o chat.o chatnav.o conn.o icq.o im.o info.o misc.o msgcookie.o rxhandlers.o rxqueue.o search.o service.o snac.o ssi.o stats.o tlv.o txqueue.o oscar_util.o oscar.o
  6. -LFLAGS += -r
  7. +LFLAGS += -Wl,-r -nostdlib
  8. # [SH] Phony targets
  9. all: oscar_mod.o
  10. @@ -38,10 +38,10 @@ $(objects): ../../Makefile.settings Make
  11. $(objects): %.o: $(SRCDIR)%.c
  12. @echo '*' Compiling $<
  13. - @$(CC) -c $(CFLAGS) $< -o $@
  14. + $(CC) -c $(CFLAGS) $< -o $@
  15. oscar_mod.o: $(objects)
  16. @echo '*' Linking oscar_mod.o
  17. - @$(LD) $(LFLAGS) $(objects) -o oscar_mod.o
  18. + $(CC) $(LFLAGS) $(objects) -o oscar_mod.o
  19. -include .depend/*.d