patch-lib_Makefile 604 B

1234567891011121314151617181920
  1. --- bitlbee-1.2.4.orig/lib/Makefile 2009-10-17 17:26:46.000000000 +0200
  2. +++ bitlbee-1.2.4/lib/Makefile 2010-03-07 19:58:49.626028152 +0100
  3. @@ -12,7 +12,7 @@
  4. objects = arc.o base64.o $(EVENT_HANDLER) http_client.o ini.o md5.o misc.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o
  5. CFLAGS += -Wall
  6. -LFLAGS += -r
  7. +LFLAGS += -Wl,-r -nostdlib
  8. # [SH] Phony targets
  9. all: lib.o
  10. @@ -32,7 +32,7 @@ distclean: clean $(subdirs)
  11. lib.o: $(objects) $(subdirs)
  12. @echo '*' Linking lib.o
  13. - @$(LD) $(LFLAGS) $(objects) -o lib.o
  14. + @$(CC) $(LFLAGS) $(objects) -o lib.o
  15. $(objects): ../Makefile.settings Makefile