1
0

patch-protocols_Makefile 755 B

123456789101112131415161718192021222324
  1. --- bitlbee-1.2.3.orig/protocols/Makefile 2008-09-06 14:33:13.000000000 +0200
  2. +++ bitlbee-1.2.3/protocols/Makefile 2009-08-28 11:13:32.079800935 +0200
  3. @@ -21,7 +21,7 @@ subdirobjs = $(PROTOOBJS)
  4. # Expansion of variables
  5. subdirobjs := $(join $(subdirs),$(addprefix /,$(subdirobjs)))
  6. CFLAGS += -Wall
  7. -LFLAGS += -r
  8. +#LFLAGS += -r
  9. # [SH] Phony targets
  10. all: protocols.o
  11. @@ -44,10 +44,10 @@ $(subdirs):
  12. protocols.o: $(objects) $(subdirs)
  13. @echo '*' Linking protocols.o
  14. - @$(LD) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o
  15. + $(CC) -shared $(LDFLAGS) $(objects) $(subdirobjs) -o protocols.o
  16. $(objects): ../Makefile.settings Makefile
  17. $(objects): %.o: %.c
  18. @echo '*' Compiling $<
  19. - @$(CC) -c $(CFLAGS) $< -o $@
  20. + $(CC) -c $(CFLAGS) $< -o $@