nix1: fix build with boehmgc 7.6.8
It needs -lgc and -lgccpp, but boehmgc pkgconfig file specifies only -lgc. Broken in https://hydra.nixos.org/build/82223544
This commit is contained in:
parent
992fc1ae54
commit
830599debe
1 changed files with 3 additions and 2 deletions
|
@ -51,10 +51,11 @@ let
|
||||||
preConfigure =
|
preConfigure =
|
||||||
# Copy libboost_context so we don't get all of Boost in our closure.
|
# Copy libboost_context so we don't get all of Boost in our closure.
|
||||||
# https://github.com/NixOS/nixpkgs/issues/45462
|
# https://github.com/NixOS/nixpkgs/issues/45462
|
||||||
lib.optionalString is20
|
if is20 then ''
|
||||||
''
|
|
||||||
mkdir -p $out/lib
|
mkdir -p $out/lib
|
||||||
cp ${boost}/lib/libboost_context* $out/lib
|
cp ${boost}/lib/libboost_context* $out/lib
|
||||||
|
'' else ''
|
||||||
|
configureFlagsArray+=(BDW_GC_LIBS="-lgc -lgccpp")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
|
|
Loading…
Reference in a new issue