3
0
Fork 0
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:
Orivej Desh 2018-12-27 17:52:04 +00:00
parent 992fc1ae54
commit 830599debe

View file

@ -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 =