mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-11 06:55:44 +00:00
configure: add '-uninstalled' to uninstalled .pc files
pkg-config(1) expects uninstalled pc files to follow the blah-uninstalled.pc naming convention and the behavior of the program is impacted by it. Without this fix overriding PKGP_CONFIG_LIBDIR is required to ensure uninstalled files are preferred (overkill), instead of just adding pc-uninstalled/ to the utility's search path by setting PKG_CONFIG_PATH accordingly. Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
parent
5f0bc0215a
commit
894e7ef9b4
2
configure
vendored
2
configure
vendored
@ -6816,7 +6816,7 @@ EOF
|
|||||||
mkdir -p doc/examples/pc-uninstalled
|
mkdir -p doc/examples/pc-uninstalled
|
||||||
includedir=${source_path}
|
includedir=${source_path}
|
||||||
[ "$includedir" = . ] && includedir="\${pcfiledir}/../../.."
|
[ "$includedir" = . ] && includedir="\${pcfiledir}/../../.."
|
||||||
cat <<EOF > doc/examples/pc-uninstalled/$name.pc
|
cat <<EOF > doc/examples/pc-uninstalled/${name}-uninstalled.pc
|
||||||
prefix=
|
prefix=
|
||||||
exec_prefix=
|
exec_prefix=
|
||||||
libdir=\${pcfiledir}/../../../$name
|
libdir=\${pcfiledir}/../../../$name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user