[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47921] [PATCH] build: Fix elf-dynamic-info-soname.
From: |
Dion Mendel |
Subject: |
[bug#47921] [PATCH] build: Fix elf-dynamic-info-soname. |
Date: |
Wed, 21 Apr 2021 03:44:29 +0800 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
* guix/build/gremlin.scm (elf-dynamic-info-soname): Return the value of
the dynamic-entry instead of the dynamic-entry record itself.
---
guix/build/gremlin.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/guix/build/gremlin.scm b/guix/build/gremlin.scm
index e8ea66dfb3..4a31c3cfaf 100644
--- a/guix/build/gremlin.scm
+++ b/guix/build/gremlin.scm
@@ -215,7 +215,10 @@ string table if the type is a string."
(#f #f)
((? elf-segment? dynamic)
(let ((entries (dynamic-entries elf dynamic)))
- (%elf-dynamic-info (find (matching-entry DT_SONAME) entries)
+ (%elf-dynamic-info (or (and=> (find (matching-entry DT_SONAME)
+ entries)
+ dynamic-entry-value)
+ #f)
(filter-map (lambda (entry)
(and (= (dynamic-entry-type entry)
DT_NEEDED)
--
2.31.0
- [bug#47921] [PATCH] build: Fix elf-dynamic-info-soname.,
Dion Mendel <=
[bug#47921] [PATCH] build: Fix elf-dynamic-info-soname., Dion Mendel, 2021/04/21
[bug#47921] retitle, Dion Mendel, 2021/04/21
[bug#47921] Include correct commit message, Dion Mendel, 2021/04/21