mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
build-system/gnu: Make libraries writable before stripping.
* guix/build/gnu-build-system.scm (strip)[strip-dir]: Change mode of files before running strip-command.
This commit is contained in:
parent
c8d1e7a130
commit
c254ac3200
1 changed files with 2 additions and 0 deletions
|
@ -393,6 +393,8 @@ (define (strip-dir dir)
|
|||
(or (elf-file? file) (ar-file? file))
|
||||
(or (not debug-output)
|
||||
(make-debug-file file))
|
||||
;; Ensure libraries are writable.
|
||||
(chmod file #o755)
|
||||
(zero? (apply system* strip-command
|
||||
(append strip-flags (list file))))
|
||||
(or (not debug-output)
|
||||
|
|
Loading…
Reference in a new issue