[FFmpeg-devel] [PATCH] configure: add '-uninstalled' to uninstalled .pc files

reynaldo at osg.samsung.com reynaldo at osg.samsung.com
Fri Oct 28 23:42:44 EEST 2016


From: "Reynaldo H. Verdejo Pinochet" <reynaldo at osg.samsung.com>

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 at osg.samsung.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 7476ca8..a26b91c 100755
--- a/configure
+++ b/configure
@@ -6813,7 +6813,7 @@ EOF
 mkdir -p doc/examples/pc-uninstalled
 includedir=${source_path}
 [ "$includedir" = . ] && includedir="\${pcfiledir}/../../.."
-    cat <<EOF > doc/examples/pc-uninstalled/$name.pc
+    cat <<EOF > doc/examples/pc-uninstalled/${name}-uninstalled.pc
 prefix=
 exec_prefix=
 libdir=\${pcfiledir}/../../../$name
-- 
2.9.3



More information about the ffmpeg-devel mailing list