diff options
author | Igor Gnatenko <ignatenko@redhat.com> | 2017-04-07 15:37:21 +0200 |
---|---|---|
committer | Florian Festi <ffesti@redhat.com> | 2017-04-11 16:00:39 +0200 |
commit | 1c0bc572f05d47663948edd4ef4ba84b398bf938 (patch) | |
tree | d8e28ade86b4f913cc1ce05097d8136c548a9ccb | |
parent | adbe3588229ea8cb6ce18a6b3e1212719ea289bb (diff) | |
download | rpm-1c0bc572f05d47663948edd4ef4ba84b398bf938.tar.gz |
pkgconfigdeps: disable dependency resolver where supported
pkgconf (alternative to freedesktop's pkgconfig implementation)
uses this flag to stop resolving dependencies after some level.
In our case, we are not interested in checking dependencies from
buildroot at all, we just generating top-level dependency list.
References: https://bugzilla.redhat.com/show_bug.cgi?id=1401463
Reported-by: Martin Sehnoutka <msehnout@redhat.com>
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
-rwxr-xr-x | scripts/pkgconfigdeps.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/pkgconfigdeps.sh b/scripts/pkgconfigdeps.sh index 270dd745b..ef4581856 100755 --- a/scripts/pkgconfigdeps.sh +++ b/scripts/pkgconfigdeps.sh @@ -16,6 +16,9 @@ $pkgconfig --atleast-pkgconfig-version="0.24" || { exit 0 } +# Under pkgconf, disables dependency resolver +export PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH=1 + case $1 in -P|--provides) while read filename ; do |