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
|
@ -393,6 +393,8 @@ makefiles."
|
||||||
(or (elf-file? file) (ar-file? file))
|
(or (elf-file? file) (ar-file? file))
|
||||||
(or (not debug-output)
|
(or (not debug-output)
|
||||||
(make-debug-file file))
|
(make-debug-file file))
|
||||||
|
;; Ensure libraries are writable.
|
||||||
|
(chmod file #o755)
|
||||||
(zero? (apply system* strip-command
|
(zero? (apply system* strip-command
|
||||||
(append strip-flags (list file))))
|
(append strip-flags (list file))))
|
||||||
(or (not debug-output)
|
(or (not debug-output)
|
||||||
|
|
Loading…
Reference in New Issue