fix -uninstalled.pc includedir for out-of-tree builds
authorDiego Pettenò <flameeyes@gmail.com>
Sun, 28 Sep 2008 23:29:23 +0000 (23:29 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Sun, 28 Sep 2008 23:29:23 +0000 (23:29 +0000)
patch by Diego 'Flameeyes' Pettenò  flameeyes _at_ gmail

Originally committed as revision 15458 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index fa20647..e6a6b4f 100755 (executable)
--- a/configure
+++ b/configure
@@ -2251,7 +2251,7 @@ cat <<EOF > $name/$name-uninstalled.pc
 prefix=
 exec_prefix=
 libdir=\${pcfiledir}
-includedir=\${pcfiledir}/..
+includedir=${source_path}
 
 Name: $name
 Description: $comment