Merge pull request #141414 from jraygauthier/jrg/mingw-w64-pthread-static
mingw_w64_pthreads: enable 'static' lib output
This commit is contained in:
commit
71c8555474
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,12 @@ stdenv.mkDerivation {
|
|||
name = "${mingw_w64.name}-pthreads";
|
||||
inherit (mingw_w64) src meta;
|
||||
|
||||
configureFlags = [
|
||||
# Rustc require 'libpthread.a' when targeting 'x86_64-pc-windows-gnu'.
|
||||
# Enabling this makes it work out of the box instead of failing.
|
||||
"--enable-static"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
cd mingw-w64-libraries/winpthreads
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue