[rtmpdump] r384 - in trunk/librtmp: Makefile librtmp.pc.in
hyc
subversion at mplayerhq.hu
Mon Mar 22 06:59:15 CET 2010
Author: hyc
Date: Mon Mar 22 06:59:14 2010
New Revision: 384
Log:
Add Requires: line for crypto lib
Modified:
trunk/librtmp/Makefile
trunk/librtmp/librtmp.pc.in
Modified: trunk/librtmp/Makefile
==============================================================================
--- trunk/librtmp/Makefile Mon Mar 22 06:47:30 2010 (r383)
+++ trunk/librtmp/Makefile Mon Mar 22 06:59:14 2010 (r384)
@@ -7,7 +7,10 @@ CRYPTO=OPENSSL
#CRYPTO=GNUTLS
LIB_GNUTLS=-lgnutls
LIB_OPENSSL=-lssl -lcrypto
+REQ_GNUTLS=gnutls
+REQ_OPENSSL=libssl,libcrypto
CRYPTO_LIB=$(LIB_$(CRYPTO))
+CRYPTO_REQ=$(REQ_$(CRYPTO))
VERSION=v2.2a
DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" -DUSE_$(CRYPTO)
@@ -32,7 +35,8 @@ parseurl.o: parseurl.c rtmp_sys.h log.h
librtmp.pc: librtmp.pc.in Makefile
sed -e "s;@prefix@;$(prefix);" -e "s;@VERSION@;$(VERSION);" \
- -e "s;@CRYPTO_LIB@;$(CRYPTO_LIB);" librtmp.pc.in > $@
+ -e "s;@CRYPTO_LIB@;$(CRYPTO_LIB);" -e "s;@CRYPTO_REQ@;$(CRYPTO_REQ);" \
+ librtmp.pc.in > $@
install: librtmp.a librtmp.pc
-mkdir $(INCDIR); cp amf.h http.h log.h rtmp.h $(INCDIR)
Modified: trunk/librtmp/librtmp.pc.in
==============================================================================
--- trunk/librtmp/librtmp.pc.in Mon Mar 22 06:47:30 2010 (r383)
+++ trunk/librtmp/librtmp.pc.in Mon Mar 22 06:59:14 2010 (r384)
@@ -6,6 +6,7 @@ incdir=${prefix}/include
Name: librtmp
Description: RTMP implementation
Version: @VERSION@
+Requires: @CRYPTO_REQ@
URL: http://rtmpdump.mplayerhq.hu
Libs: -L${libdir} -lrtmp
Libs.private: @CRYPTO_LIB@ -lz
More information about the rtmpdump
mailing list