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:
parent
fb997de4bb
commit
c2d85c30ae
|
@ -18,8 +18,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}" ]
|
cmakeFlags = [
|
||||||
++ stdenv.lib.optional static "-DCMAKE_SKIP_RPATH:BOOL=TRUE";
|
"-DCANONICAL_PREFIXES=ON"
|
||||||
|
"-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}"
|
||||||
|
] ++ stdenv.lib.optional static "-DCMAKE_SKIP_RPATH:BOOL=TRUE";
|
||||||
|
|
||||||
propagatedBuildInputs = [ brotli ];
|
propagatedBuildInputs = [ brotli ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue