boost: fix build on mingw after b465dc202f0b
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
@ -100,7 +100,7 @@ let
|
|||||||
|
|
||||||
commonConfigureFlags = [
|
commonConfigureFlags = [
|
||||||
"--includedir=$(dev)/include"
|
"--includedir=$(dev)/include"
|
||||||
"--libdir=$(lib)/lib"
|
"--libdir=$(out)/lib"
|
||||||
];
|
];
|
||||||
|
|
||||||
fixup = ''
|
fixup = ''
|
||||||
@ -111,7 +111,7 @@ let
|
|||||||
-exec sed '1i#line 1 "{}"' -i '{}' \;
|
-exec sed '1i#line 1 "{}"' -i '{}' \;
|
||||||
)
|
)
|
||||||
'' + optionalString (stdenv.cross.libc or null == "msvcrt") ''
|
'' + optionalString (stdenv.cross.libc or null == "msvcrt") ''
|
||||||
${stdenv.cross.config}-ranlib "$lib"/lib/*.a
|
${stdenv.cross.config}-ranlib "$out"/lib/*.a
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user