-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win-dll-links: also copy dll from dependencies #252459
Conversation
(I'm not a good person for Windows stuff.) |
@vcunat I have tested the changes and DLLs get copied to output directory. I have also tested to run with wine64 and executable can run being able to find all dependencies. |
|
f4a6080
to
5551a5b
Compare
Fixes running `pkgsCross.mingwW64._7zz` in wine. Fixes issue 38451 ``` tree result/bin result/bin ├── 7zz.exe └── mcfgthread-12.dll -> ../../wmgj476qjfw26f9aij1d64lxrjfv6kk0-mcfgthreads-x86_64-w64-mingw32-git/bin/mcfgthread-12.dll ``` Co-authored-by: marius david <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge quickly
...into staging-next. It's a topologically earlier remerge.
Successfully created backport PR for |
Description of changes
Copies Windows dependencies. Refactored changes from #227818. DLLs get copied to output path and are correctly symlinked. Tested with wine64 that application can run correctly and link properly.
Fixes #38451
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)