summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2016-10-28 12:48:54 -0700
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2016-10-30 20:50:11 -0700
commit894e7ef9b4256e92fd0ec9ec2518389502b8be91 (patch)
treeaa6fa865c26b11e4b91f8205944c9797af7f0b0b /configure
parent5f0bc0215a0f7099a2bcba5dced2e045e70fee61 (diff)
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c4122e9d71..d2ab550022 100755
--- a/configure
+++ b/configure
@@ -6816,7 +6816,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