patch-protocols_oscar_Makefile 677 B

1234567891011121314151617
  1. --- bitlbee-1.2.4.orig/protocols/oscar/Makefile 2009-10-17 17:26:46.000000000 +0200
  2. +++ bitlbee-1.2.4/protocols/oscar/Makefile 2010-03-07 20:00:56.836124250 +0100
  3. @@ -12,7 +12,7 @@
  4. 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
  5. CFLAGS += -Wall
  6. -LFLAGS += -r
  7. +LFLAGS += -Wl,-r -nostdlib
  8. # [SH] Phony targets
  9. all: oscar_mod.o
  10. @@ -38,4 +38,4 @@ $(objects): %.o: %.c
  11. oscar_mod.o: $(objects)
  12. @echo '*' Linking oscar_mod.o
  13. - @$(LD) $(LFLAGS) $(objects) -o oscar_mod.o
  14. + @$(CC) $(LFLAGS) $(objects) -o oscar_mod.o