gnu: wine64-staging: copy wine32-staging libraries.

A similar phase has been added to wine64 since version 5.21 in order to fix
linkage issues of binaries copied from wine32.
See also <https://bugs.gnu.org/42342>.

* gnu/packages/wine.scm (wine64-staging)[#phases]: Add ‘copy-wine32-libraries’.
This commit is contained in:
Leo Prikler 2021-04-22 23:35:54 +02:00
parent 6b99c52207
commit c22204cf7b
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -532,6 +532,13 @@ (define-public wine64-staging
(copy-file (string-append wine32 "/bin/.wine-preloader-real")
(string-append out "/bin/wine-preloader"))
#t)))
(add-after 'install 'copy-wine32-libraries
(lambda* (#:key outputs #:allow-other-keys)
(let* ((wine32 (assoc-ref %build-inputs "wine-staging"))
(out (assoc-ref %outputs "out")))
(copy-recursively (string-append wine32 "/lib/wine32")
(string-append out "/lib/wine32"))
#t)))
(add-after 'compress-documentation 'copy-wine32-manpage
(lambda* (#:key outputs #:allow-other-keys)
(let* ((wine32 (assoc-ref %build-inputs "wine-staging"))