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
|
@ -237,6 +237,16 @@ required structures.")
|
||||||
(string-prefix? "armhf" (%current-system)))
|
(string-prefix? "armhf" (%current-system)))
|
||||||
'("-mfpu=vfpv3")
|
'("-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
|
(add-before
|
||||||
'patch-source-shebangs 'patch-tests
|
'patch-source-shebangs 'patch-tests
|
||||||
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in New Issue