patch-protocols_jabber_Makefile 564 B

1234567891011121314151617
  1. --- bitlbee-1.2.4.orig/protocols/jabber/Makefile 2009-10-17 17:26:46.000000000 +0200
  2. +++ bitlbee-1.2.4/protocols/jabber/Makefile 2010-03-07 20:00:36.426039459 +0100
  3. @@ -12,7 +12,7 @@
  4. objects = conference.o io.o iq.o jabber.o jabber_util.o message.o presence.o sasl.o
  5. CFLAGS += -Wall
  6. -LFLAGS += -r
  7. +LFLAGS += -Wl,-r -nostdlib
  8. # [SH] Phony targets
  9. all: jabber_mod.o
  10. @@ -38,4 +38,4 @@ $(objects): %.o: %.c
  11. jabber_mod.o: $(objects)
  12. @echo '*' Linking jabber_mod.o
  13. - @$(LD) $(LFLAGS) $(objects) -o jabber_mod.o
  14. + @$(CC) $(LFLAGS) $(objects) -o jabber_mod.o