summaryrefslogtreecommitdiff
path: root/tools/elfdeps.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-02-25 15:16:39 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-02-25 15:16:39 +0200
commit62a60d8716b7306cf29fa14298dd3c0263d81b07 (patch)
tree492bd7a1244ea80a3aafa1bc79fb52e4b96d73a4 /tools/elfdeps.c
parentcd3d8082e19f27dae2d6a786dbaa52afb809bc8b (diff)
downloadrpm-62a60d8716b7306cf29fa14298dd3c0263d81b07.tar.gz
rpm-62a60d8716b7306cf29fa14298dd3c0263d81b07.tar.bz2
rpm-62a60d8716b7306cf29fa14298dd3c0263d81b07.zip
Gah, stupid thinko in elfdeps
- for DSO's without a soname, we should be adding a *provide* of the basename, not require - dumb regression from commit 87c237bebfc792a8b439fa2c5a2b78328b139d50
Diffstat (limited to 'tools/elfdeps.c')
-rw-r--r--tools/elfdeps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/elfdeps.c b/tools/elfdeps.c
index 218fd0ad2..f9595efa1 100644
--- a/tools/elfdeps.c
+++ b/tools/elfdeps.c
@@ -244,7 +244,7 @@ static int processFile(const char *fn, int dtype)
char *dep;
bn = bn ? bn + 1 : fn;
dep = rstrscat(NULL, bn, marker, NULL);
- argvAdd(&ei->requires, dep);
+ argvAdd(&ei->provides, dep);
rfree(dep);
}