From d16a03a66226900affb4fe2c8f0a6647d58dc18c Mon Sep 17 00:00:00 2001
From: Julien Chaffraix <julien.chaffraix@gmail.com>
Date: Fri, 12 Nov 2010 06:47:10 -0800
Subject: [PATCH 1/3] configure: Fix some RTMP build.

We need to also build curl with -lrtmp or we would fail at link time.
---
 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index d240908..c35c7cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2105,6 +2105,8 @@ if test X"$OPT_LIBRTMP" != Xno; then
   if test X"$OPT_LIBRTMP" != Xoff &&
      test "$LIBRTMP_ENABLED" != "1"; then
     AC_MSG_ERROR([librtmp libs and/or directories were not found where specified!])
+  else
+    CURL_LIBS="$CURL_LIBS -lrtmp"
   fi
 
 fi
-- 
1.7.0.4

