Set correct value for includedir in pkg-config files.
authorDiego Biurrun <diego@biurrun.de>
Wed, 16 Apr 2008 21:48:03 +0000 (21:48 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 16 Apr 2008 21:48:03 +0000 (21:48 +0000)
Originally committed as revision 12865 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 64570bd..5c09691 100755 (executable)
--- a/configure
+++ b/configure
@@ -2101,7 +2101,6 @@ fi
 
 
 # build pkg-config files
-# FIXME: includedir is hardcoded and may differ from the real path.
 
 pkgconfig_generate(){
 name=$1
@@ -2113,7 +2112,7 @@ cat <<EOF >$name.pc
 prefix=$prefix
 exec_prefix=\${prefix}
 libdir=$libdir
-includedir=\${prefix}/include
+includedir=$incdir
 
 Name: $name
 Description: $comment