2016-09-26 16:37:31 +02:00
|
|
|
diff -u -r ../rtmpdump-2.4/librtmp/Makefile ./librtmp/Makefile
|
|
|
|
--- ../rtmpdump-2.4/librtmp/Makefile 2011-07-11 20:24:33.000000000 -0400
|
|
|
|
+++ ./librtmp/Makefile 2016-09-26 10:26:17.608653918 -0400
|
|
|
|
@@ -1,20 +1,14 @@
|
|
|
|
VERSION=v2.4
|
2016-08-24 17:03:12 +02:00
|
|
|
|
|
|
|
-prefix=/usr/local
|
|
|
|
-
|
|
|
|
incdir=$(prefix)/include/librtmp
|
|
|
|
bindir=$(prefix)/bin
|
|
|
|
libdir=$(prefix)/lib
|
|
|
|
-mandir=$(prefix)/man
|
|
|
|
+mandir=$(prefix)/share/man
|
|
|
|
BINDIR=$(DESTDIR)$(bindir)
|
|
|
|
INCDIR=$(DESTDIR)$(incdir)
|
|
|
|
LIBDIR=$(DESTDIR)$(libdir)
|
2016-09-26 16:37:31 +02:00
|
|
|
MANDIR=$(DESTDIR)$(mandir)
|
|
|
|
|
|
|
|
-CC=$(CROSS_COMPILE)gcc
|
|
|
|
-LD=$(CROSS_COMPILE)ld
|
|
|
|
-AR=$(CROSS_COMPILE)ar
|
|
|
|
-
|
|
|
|
SYS=posix
|
|
|
|
CRYPTO=OPENSSL
|
|
|
|
#CRYPTO=GNUTLS
|
|
|
|
@@ -67,8 +61,8 @@
|
|
|
|
|
|
|
|
DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
|
|
|
|
OPT=-O2
|
|
|
|
-CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT) $(SO_DEF)
|
|
|
|
-LDFLAGS=$(XLDFLAGS)
|
|
|
|
+CFLAGS+=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT) $(SO_DEF)
|
|
|
|
+LDFLAGS+=$(XLDFLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
OBJS=rtmp.o log.o amf.o hashswf.o parseurl.o
|
|
|
|
diff -u -r ../rtmpdump-2.4/Makefile ./Makefile
|
|
|
|
--- ../rtmpdump-2.4/Makefile 2011-07-11 20:24:33.000000000 -0400
|
|
|
|
+++ ./Makefile 2016-09-26 10:27:25.931636266 -0400
|
2016-08-24 15:05:11 +02:00
|
|
|
@@ -1,10 +1,5 @@
|
2016-09-26 16:37:31 +02:00
|
|
|
VERSION=v2.4
|
2016-08-24 17:03:12 +02:00
|
|
|
|
2016-08-24 15:05:11 +02:00
|
|
|
-prefix=/usr/local
|
|
|
|
-
|
|
|
|
-CC=$(CROSS_COMPILE)gcc
|
|
|
|
-LD=$(CROSS_COMPILE)ld
|
|
|
|
-
|
|
|
|
SYS=posix
|
|
|
|
#SYS=mingw
|
2016-08-24 17:03:12 +02:00
|
|
|
|
2016-09-26 16:37:31 +02:00
|
|
|
@@ -21,8 +16,8 @@
|
2016-08-24 17:03:12 +02:00
|
|
|
|
2016-08-24 15:05:11 +02:00
|
|
|
DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
|
|
|
|
OPT=-O2
|
|
|
|
-CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
|
|
|
|
-LDFLAGS=-Wall $(XLDFLAGS)
|
|
|
|
+CFLAGS+=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
|
|
|
|
+LDFLAGS+=-Wall $(XLDFLAGS)
|
2016-08-24 17:03:12 +02:00
|
|
|
|
2016-08-24 15:05:11 +02:00
|
|
|
bindir=$(prefix)/bin
|
|
|
|
sbindir=$(prefix)/sbin
|
2016-09-26 16:37:31 +02:00
|
|
|
@@ -38,7 +33,7 @@
|
|
|
|
LIB_RTMP=-Llibrtmp -lrtmp
|
|
|
|
LIBS=$(LIB_RTMP) $(CRYPTO_LIB) $(LIBS_$(SYS)) $(XLIBS)
|
2016-08-24 17:03:12 +02:00
|
|
|
|
2016-08-24 15:05:11 +02:00
|
|
|
-THREADLIB_posix=-lpthread
|
|
|
|
+THREADLIB_posix=
|
2016-09-26 16:37:31 +02:00
|
|
|
THREADLIB_darwin=-lpthread
|
2016-08-24 15:05:11 +02:00
|
|
|
THREADLIB_mingw=
|
|
|
|
THREADLIB=$(THREADLIB_$(SYS))
|