diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-09-15 23:54:31 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-09-15 23:54:31 +0000 |
commit | 8cd6b388f43396eb022aeb0e75752d956de5f81f (patch) | |
tree | e6aa51edd509365ead2aac6179062264211315df /configure | |
parent | ea25c063c303160e92b2566057614bd6863c48ea (diff) | |
download | ffmpeg-8cd6b388f43396eb022aeb0e75752d956de5f81f.tar.gz |
Make pkgconfig_generate() fill Libs with the required linking flags
if the "shared" var has not been explicitely enabled, rather than if
it has been explicitly disabled.
This way is not necessary to explicitly disable shared libraries in
order to have a pc file usable with only static libraries.
Originally committed as revision 19868 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) Conflicts: -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} EOF |