patch-librtmp_Makefile 881 B

123456789101112131415161718192021222324252627282930313233343536
  1. --- rtmpdump-2.4.orig/librtmp/Makefile 2013-12-15 14:24:48.000000000 +0100
  2. +++ rtmpdump-2.4/librtmp/Makefile 2013-12-15 15:20:13.000000000 +0100
  3. @@ -1,6 +1,6 @@
  4. VERSION=v2.4
  5. -prefix=/usr/local
  6. +prefix=/usr
  7. incdir=$(prefix)/include/librtmp
  8. bindir=$(prefix)/bin
  9. @@ -11,9 +11,9 @@ INCDIR=$(DESTDIR)$(incdir)
  10. LIBDIR=$(DESTDIR)$(libdir)
  11. MANDIR=$(DESTDIR)$(mandir)
  12. -CC=$(CROSS_COMPILE)gcc
  13. -LD=$(CROSS_COMPILE)ld
  14. -AR=$(CROSS_COMPILE)ar
  15. +CC?=$(CROSS_COMPILE)gcc
  16. +LD?=$(CROSS_COMPILE)ld
  17. +AR?=$(CROSS_COMPILE)ar
  18. SYS=posix
  19. CRYPTO=OPENSSL
  20. @@ -74,8 +74,10 @@ SO_INST=$(SOINST_$(SHARED))
  21. DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
  22. OPT=-O2
  23. -CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT) $(SO_DEF)
  24. -LDFLAGS=$(XLDFLAGS)
  25. +CFLAGS?=
  26. +CFLAGS+=-Wall $(XCFLAGS) $(INC) $(DEF) $(SO_DEF)
  27. +LDFLAGS?=
  28. +LDFLAGS+=$(XLDFLAGS)
  29. OBJS=rtmp.o log.o amf.o hashswf.o parseurl.o