summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-04-18 18:31:28 +0200
committerLudovic Courtès <ludo@gnu.org>2018-05-07 11:21:38 +0200
commit8005640201fbc9b113f4f76fc7e55fe3f9a72738 (patch)
treee1740214fbc19a2ea5ba9b178fba5487697fd8fd
parentb178fc236908ad2da86734ea8e01abd3ff8981da (diff)
build-system/meson: Use 'strip-runpath' instead of PatchELF.
* guix/build/meson-build-system.scm (fix-runpath): Call 'strip-runpath' instead of invoking 'patchelf'.
-rw-r--r--guix/build/meson-build-system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/meson-build-system.scm b/guix/build/meson-build-system.scm
index e7690a4c37..7efd433d6c 100644
--- a/guix/build/meson-build-system.scm
+++ b/guix/build/meson-build-system.scm
@@ -135,7 +135,7 @@ for example libraries only needed for the tests."
(find-files dir elf-pred))
existing-elf-dirs))))
(for-each (lambda (elf-file)
- (system* "patchelf" "--shrink-rpath" elf-file)
+ (strip-runpath elf-file)
(handle-file elf-file elf-list))
elf-list)))))
(for-each handle-output outputs)