me
/
guix
Archived
1
0
Fork 0

gnu: openssl: Keep .dll.a files in main output.

* gnu/packages/tls.scm (openssl) [phase move-static-libraries]: Do not move
.dll.a files to the static output when targetting mingw.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Vivien Kraus 2022-08-05 09:52:21 +02:00 committed by Ludovic Courtès
parent 4337e8466e
commit e167044fad
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 1 deletions

View File

@ -507,7 +507,13 @@ OpenSSL for TARGET."
(for-each (lambda (file)
(install-file file slib)
(delete-file file))
(find-files lib "\\.a$")))))
(find-files
lib
#$(if (target-mingw?)
'(lambda (filename _)
(and (string-suffix? ".a" filename)
(not (string-suffix? ".dll.a" filename))))
"\\.a$"))))))
(add-after 'install 'move-extra-documentation
(lambda _
;; Move man pages and full HTML documentation to "doc".