mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: openssl: Allow shared objects to be stripped.
* gnu/packages/tls.scm (openssl)[arguments]: Add 'make-libraries-writable' phase.
This commit is contained in:
parent
4fb254a339
commit
fe8199a80c
1 changed files with 10 additions and 0 deletions
|
@ -237,6 +237,16 @@ (define-public openssl
|
|||
(string-prefix? "armhf" (%current-system)))
|
||||
'("-mfpu=vfpv3")
|
||||
'()))))))
|
||||
(add-after
|
||||
'install 'make-libraries-writable
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Make libraries writable so that 'strip' does its job.
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(for-each (lambda (file)
|
||||
(chmod file #o644))
|
||||
(find-files (string-append out "/lib")
|
||||
"\\.so"))
|
||||
#t)))
|
||||
(add-before
|
||||
'patch-source-shebangs 'patch-tests
|
||||
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue