[FFmpeg-cvslog] r19868 - trunk/configure

stefano subversion
Wed Sep 16 01:54:31 CEST 2009

Author: stefano
Date: Wed Sep 16 01:54:31 2009
New Revision: 19868

Make pkgconfig_generate() fills Libs with the required linking flags
if the "shared" var has not been explicitely enabled, rather than if
it has been explicitely disabled.

This way is not necessary to explicitely disable shared libraries in
order to have a pc file usable with only static libraries.


Modified: trunk/configure
--- trunk/configure	Wed Sep 16 01:40:10 2009	(r19867)
+++ trunk/configure	Wed Sep 16 01:54:31 2009	(r19868)
@@ -2796,10 +2796,10 @@ includedir=$incdir
 Name: $name
 Description: $comment
 Version: $version
-Requires: $(disabled shared && echo $requires)
+Requires: $(enabled shared || echo $requires)
 Requires.private: $(enabled shared && echo $requires)
-Libs: -L\${libdir} -l${shortname} $(disabled shared && echo $libs)
+Libs: -L\${libdir} -l${shortname} $(enabled shared || echo $libs)
 Libs.private: $(enabled shared && echo $libs)
 Cflags: -I\${includedir}

More information about the ffmpeg-cvslog mailing list