3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: wine64: Copy wine32 libraries.

Fixes the linkage of binaries copied over from wine32.  See also #42342.

* gnu/packages/wine.scm (wine64)[#:phases]: Add copy-wine32-libraries.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Leo Prikler 2020-11-20 13:55:48 +01:00 committed by Christopher Baines
parent fa61610fbd
commit 80c65f30d6
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -267,6 +267,13 @@ integrate Windows applications into your desktop.")
(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"))
(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"))