forked from mirrors/nixpkgs
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
|
@ -51,10 +51,11 @@ let
|
|||
preConfigure =
|
||||
# Copy libboost_context so we don't get all of Boost in our closure.
|
||||
# https://github.com/NixOS/nixpkgs/issues/45462
|
||||
lib.optionalString is20
|
||||
''
|
||||
if is20 then ''
|
||||
mkdir -p $out/lib
|
||||
cp ${boost}/lib/libboost_context* $out/lib
|
||||
'' else ''
|
||||
configureFlagsArray+=(BDW_GC_LIBS="-lgc -lgccpp")
|
||||
'';
|
||||
|
||||
configureFlags =
|
||||
|
|
Loading…
Reference in a new issue