me
/
guix
Archived
1
0
Fork 0

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’.
master
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
1 changed files with 7 additions and 0 deletions

View File

@ -532,6 +532,13 @@ integrated into the main branch.")
(copy-file (string-append wine32 "/bin/.wine-preloader-real") (copy-file (string-append wine32 "/bin/.wine-preloader-real")
(string-append out "/bin/wine-preloader")) (string-append out "/bin/wine-preloader"))
#t))) #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 (add-after 'compress-documentation 'copy-wine32-manpage
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((wine32 (assoc-ref %build-inputs "wine-staging")) (let* ((wine32 (assoc-ref %build-inputs "wine-staging"))