diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-06-16 18:01:55 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-06-16 18:01:55 +0000 |
commit | 25cd5cb33ce97f9863d842ec8ecebd60a6043d82 (patch) | |
tree | 38a0a22529ac707027cca8013de5518f5dd0002f /configure | |
parent | ef3efa0dbc4049700f76b2923cdeb26b8f652f70 (diff) | |
download | ffmpeg-25cd5cb33ce97f9863d842ec8ecebd60a6043d82.tar.gz |
Generate pkg-config files in each library subdirectory so that they do
not clutter the root of the source tree.
Originally committed as revision 13780 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2192,7 +2192,7 @@ comment=$2 version=$3 libs=$4 requires=$5 -cat <<EOF > $name.pc +cat <<EOF > $name/$name.pc prefix=$prefix exec_prefix=\${prefix} libdir=$libdir @@ -2208,7 +2208,7 @@ Libs: -L\${libdir} -l${shortname} $(disabled shared && echo $libs) Libs.private: $(enabled shared && echo $libs) Cflags: -I\${includedir} EOF -cat <<EOF > $name-uninstalled.pc +cat <<EOF > $name/$name-uninstalled.pc prefix= exec_prefix= libdir=\${pcfiledir}/$name @@ -2236,5 +2236,5 @@ if enabled swscale; then pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERSION" "" "libavutil = $LIBAVUTIL_VERSION" else pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERSION" "" "$pkg_requires libavcodec = $LIBAVCODEC_VERSION" - apply libswscale.pc sed s/^Libs:.*$/Libs:/ + apply libswscale/libswscale.pc sed s/^Libs:.*$/Libs:/ fi |