patch-lib_Makefile 709 B

123456789101112131415161718192021222324
  1. --- bitlbee-1.2.3.orig/lib/Makefile 2008-09-06 14:33:13.000000000 +0200
  2. +++ bitlbee-1.2.3/lib/Makefile 2009-08-28 11:12:29.546939473 +0200
  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 += -r
  8. # [SH] Phony targets
  9. all: lib.o
  10. @@ -32,10 +32,10 @@ distclean: clean $(subdirs)
  11. lib.o: $(objects) $(subdirs)
  12. @echo '*' Linking lib.o
  13. - @$(LD) $(LFLAGS) $(objects) -o lib.o
  14. + $(CC) -shared $(LDFLAGS) $(objects) -o lib.o
  15. $(objects): ../Makefile.settings Makefile
  16. $(objects): %.o: %.c
  17. @echo '*' Compiling $<
  18. - @$(CC) -c $(CFLAGS) $< -o $@
  19. + $(CC) -c $(CFLAGS) $< -o $@