patch-GNUmakefile 568 B

123456789101112131415161718192021222324
  1. $Id$
  2. --- gatling-0.11.orig/GNUmakefile 2008-12-05 13:31:01.000000000 +0100
  3. +++ gatling-0.11/GNUmakefile 2011-01-15 14:10:40.000000000 +0100
  4. @@ -17,7 +17,7 @@ CROSS=
  5. #CROSS=i686-mingw32-
  6. CC=$(CROSS)gcc
  7. CFLAGS=-pipe -Wall
  8. -LDFLAGS=
  9. +LDFLAGS?=
  10. path = $(subst :, ,$(PATH))
  11. diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet))
  12. @@ -147,9 +147,10 @@ havesetresuid.h: trysetresuid.c
  13. dummy.c:
  14. touch $@
  15. +RANLIB?=ranlib
  16. libsocketkludge.a: libsocket libiconv dummy.o
  17. ar q $@ dummy.o
  18. - -ranlib $@
  19. + -${RANLIB} $@
  20. LDLIBS+=`cat libsocket libiconv libcrypt`