woff2: use canonical prefixes

When building with a native stdenv, which wraps CC, we need to resolve nix store
symlinks when building woff2.
This commit is contained in:
bhpdt 2020-11-16 18:42:48 -05:00
parent fb997de4bb
commit c2d85c30ae

@ -18,8 +18,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}" ]
++ stdenv.lib.optional static "-DCMAKE_SKIP_RPATH:BOOL=TRUE";
cmakeFlags = [
"-DCANONICAL_PREFIXES=ON"
"-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}"
] ++ stdenv.lib.optional static "-DCMAKE_SKIP_RPATH:BOOL=TRUE";
propagatedBuildInputs = [ brotli ];