guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: build-system/meson: Use 'strip-runpath' instead of PatchELF.


From: Ludovic Courtès
Subject: 03/03: build-system/meson: Use 'strip-runpath' instead of PatchELF.
Date: Mon, 7 May 2018 05:23:52 -0400 (EDT)

civodul pushed a commit to branch core-updates-next
in repository guix.

commit 8005640201fbc9b113f4f76fc7e55fe3f9a72738
Author: Ludovic Courtès <address@hidden>
Date:   Wed Apr 18 18:31:28 2018 +0200

    build-system/meson: Use 'strip-runpath' instead of PatchELF.
    
    * guix/build/meson-build-system.scm (fix-runpath): Call 'strip-runpath'
    instead of invoking 'patchelf'.
---
 guix/build/meson-build-system.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/meson-build-system.scm 
b/guix/build/meson-build-system.scm
index e7690a4..7efd433 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]