aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-10-11 00:39:24 +0200
committerGuenter Knauf <lists@gknw.net>2010-10-11 00:39:24 +0200
commit6a90aa3f3def33b7d88c64868187ba3ec7a967b8 (patch)
tree8ce00880504732cb58d2ae8d0abdb3ffb1cf2783 /src
parent1998de9993f9fb1e6e57970d56ca1e88ad309cba (diff)
Added build bits for librtmp to MingW32 makefiles.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.m3212
1 files changed, 10 insertions, 2 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index 364bce1fa..dfe80927a 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -4,7 +4,7 @@
## and optionally OpenSSL (0.9.8), libssh2 (1.2), zlib (1.2.5)
##
## Usage:
-## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [IDN=1] [SSPI=1] [IPV6=1] [LDAPS=1] [DYN=1]
+## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [IDN=1] [SSPI=1] [IPV6=1] [LDAPS=1] [RTMP=1] [DYN=1]
##
## Hint: you can also set environment vars to control the build, f.e.:
## set ZLIB_PATH=c:/zlib-1.2.5
@@ -24,12 +24,16 @@ OPENSSL_PATH = ../../openssl-0.9.8o
endif
# Edit the path below to point to the base of your LibSSH2 package.
ifndef LIBSSH2_PATH
-LIBSSH2_PATH = ../../libssh2-1.2.6
+LIBSSH2_PATH = ../../libssh2-1.2.7
endif
# Edit the path below to point to the base of your libidn package.
ifndef LIBIDN_PATH
LIBIDN_PATH = ../../libidn-1.18
endif
+# Edit the path below to point to the base of your librtmp package.
+ifndef LIBRTMP_PATH
+LIBRTMP_PATH = ../../librtmp-2.3
+endif
# Edit the path below to point to the base of your Novell LDAP NDK.
ifndef LDAP_SDK
LDAP_SDK = c:/novell/ndk/cldapsdk/win32
@@ -75,6 +79,10 @@ ifdef ARES
CFLAGS += -DUSE_ARES
curl_LDADD += -L$(LIBCARES_PATH) -lcares
endif
+ifdef RTMP
+ CFLAGS += -DUSE_LIBRTMP
+ curl_LDADD += -L"$(LIBRTMP_PATH)/librtmp" -lrtmp -lwinmm
+endif
ifdef SSH2
CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H
curl_LDADD += -L$(LIBSSH2_PATH)/win32 -lssh2