curl-library
libcurl does not link with librtmp when specifying path
From: Chris Carlmar <chris_at_carlmar.no>
Date: Wed, 7 Jun 2017 15:37:36 +0200
Date: Wed, 7 Jun 2017 15:37:36 +0200
Hi,
I found that if I try to configure libcurl using the
'--with-librtmp=[path to librtmp], then curl does not correctly link
with librtmp.
I added this small patch to fix this:
diff --git a/configure.ac b/configure.ac
index b492a29..da0e841 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2659,6 +2659,7 @@ if test X"$OPT_LIBRTMP" != Xno; then
;;
*)
dnl use the given --with-librtmp spot
+ LIB_RTMP="-lrtmp"
PREFIX_RTMP=$OPT_LIBRTMP
;;
esac
-- Chris Carlmar ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2017-06-07