Set correct value for libdir in pkg-config files.
patch by Anssi Hannula, anssi.hannula gmail com Originally committed as revision 12864 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
80465c7eed
commit
f2b7382cd3
4
configure
vendored
4
configure
vendored
@ -2101,7 +2101,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# build pkg-config files
|
# build pkg-config files
|
||||||
# FIXME: libdir and includedir are hardcoded and may differ from the real path.
|
# FIXME: includedir is hardcoded and may differ from the real path.
|
||||||
|
|
||||||
pkgconfig_generate(){
|
pkgconfig_generate(){
|
||||||
name=$1
|
name=$1
|
||||||
@ -2112,7 +2112,7 @@ requires=$5
|
|||||||
cat <<EOF >$name.pc
|
cat <<EOF >$name.pc
|
||||||
prefix=$prefix
|
prefix=$prefix
|
||||||
exec_prefix=\${prefix}
|
exec_prefix=\${prefix}
|
||||||
libdir=\${exec_prefix}/lib
|
libdir=$libdir
|
||||||
includedir=\${prefix}/include
|
includedir=\${prefix}/include
|
||||||
|
|
||||||
Name: $name
|
Name: $name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user