[rtmpdump] r558 - in trunk/librtmp: Makefile librtmp.pc.in
hyc
subversion at mplayerhq.hu
Thu Mar 10 15:30:07 CET 2011
Author: hyc
Date: Thu Mar 10 15:30:06 2011
New Revision: 558
Log:
Add Libs.private to pkgconfig for Windows
Modified:
trunk/librtmp/Makefile
trunk/librtmp/librtmp.pc.in
Modified: trunk/librtmp/Makefile
==============================================================================
--- trunk/librtmp/Makefile Fri Feb 25 06:51:40 2011 (r557)
+++ trunk/librtmp/Makefile Thu Mar 10 15:30:06 2011 (r558)
@@ -31,7 +31,8 @@ LIBS_mingw=-lws2_32 -lwinmm -lgdi32
LIB_GNUTLS=-lgnutls -lgcrypt $(LIBZ)
LIB_OPENSSL=-lssl -lcrypto $(LIBZ)
LIB_POLARSSL=-lpolarssl $(LIBZ)
-CRYPTO_LIB=$(LIB_$(CRYPTO)) $(LIBS_$(SYS))
+PRIVATE_LIBS=$(LIBS_$(SYS))
+CRYPTO_LIB=$(LIB_$(CRYPTO)) $(PRIVATE_LIBS)
CRYPTO_REQ=$(REQ_$(CRYPTO))
CRYPTO_DEF=$(DEF_$(CRYPTO))
@@ -93,7 +94,8 @@ parseurl.o: parseurl.c rtmp.h rtmp_sys.h
librtmp.pc: librtmp.pc.in Makefile
sed -e "s;@prefix@;$(prefix);" -e "s;@libdir@;$(libdir);" \
-e "s;@VERSION@;$(VERSION);" \
- -e "s;@CRYPTO_REQ@;$(CRYPTO_REQ);" librtmp.pc.in > $@
+ -e "s;@CRYPTO_REQ@;$(CRYPTO_REQ);" \
+ -e "s;@PRIVATE_LIBS@;$(PRIVATE_LIBS));" librtmp.pc.in > $@
install: install_base $(SO_INST)
Modified: trunk/librtmp/librtmp.pc.in
==============================================================================
--- trunk/librtmp/librtmp.pc.in Fri Feb 25 06:51:40 2011 (r557)
+++ trunk/librtmp/librtmp.pc.in Thu Mar 10 15:30:06 2011 (r558)
@@ -9,4 +9,5 @@ Version: @VERSION@
Requires: @CRYPTO_REQ@
URL: http://rtmpdump.mplayerhq.hu
Libs: -L${libdir} -lrtmp -lz
+Libs.private; @PRIVATE_LIBS@
Cflags: -I${incdir}
More information about the rtmpdump
mailing list