boost: fix build on mingw after b465dc202f
We passed bogus --libdir even in standard native builds; apparently it wasn't a problem, but I also fixed that.
This commit is contained in:
parent
4cf524e588
commit
604b0c86bf
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ let
|
|||
|
||||
commonConfigureFlags = [
|
||||
"--includedir=$(dev)/include"
|
||||
"--libdir=$(lib)/lib"
|
||||
"--libdir=$(out)/lib"
|
||||
];
|
||||
|
||||
fixup = ''
|
||||
|
@ -111,7 +111,7 @@ let
|
|||
-exec sed '1i#line 1 "{}"' -i '{}' \;
|
||||
)
|
||||
'' + optionalString (stdenv.cross.libc or null == "msvcrt") ''
|
||||
${stdenv.cross.config}-ranlib "$lib"/lib/*.a
|
||||
${stdenv.cross.config}-ranlib "$out"/lib/*.a
|
||||
'';
|
||||
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue