[rtmpdump] r549 - in trunk/librtmp: Makefile librtmp.pc.in

hyc subversion at mplayerhq.hu
Fri Aug 13 22:05:36 CEST 2010


Author: hyc
Date: Fri Aug 13 22:05:35 2010
New Revision: 549

Log:
Substitute libdir in pkgconfig file

Modified:
   trunk/librtmp/Makefile
   trunk/librtmp/librtmp.pc.in

Modified: trunk/librtmp/Makefile
==============================================================================
--- trunk/librtmp/Makefile	Tue Aug 10 08:41:50 2010	(r548)
+++ trunk/librtmp/Makefile	Fri Aug 13 22:05:35 2010	(r549)
@@ -91,7 +91,8 @@ hashswf.o: hashswf.c http.h rtmp.h rtmp_
 parseurl.o: parseurl.c rtmp.h rtmp_sys.h log.h Makefile
 
 librtmp.pc: librtmp.pc.in Makefile
-	sed -e "s;@prefix@;$(prefix);" -e "s;@VERSION@;$(VERSION);" \
+	sed -e "s;@prefix@;$(prefix);" -e "s;@libdir@;$(libdir);" \
+		-e "s;@VERSION@;$(VERSION);" \
 		-e "s;@CRYPTO_REQ@;$(CRYPTO_REQ);" librtmp.pc.in > $@
 
 install:	install_base $(SO_INST)

Modified: trunk/librtmp/librtmp.pc.in
==============================================================================
--- trunk/librtmp/librtmp.pc.in	Tue Aug 10 08:41:50 2010	(r548)
+++ trunk/librtmp/librtmp.pc.in	Fri Aug 13 22:05:35 2010	(r549)
@@ -1,6 +1,6 @@
 prefix=@prefix@
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=@libdir@
 incdir=${prefix}/include
 
 Name: librtmp


More information about the rtmpdump mailing list