mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
libjxl: Move brotli and libhwy to propagatedBuildInputs
pkg-config dependencies aren't specified using store paths so they need to be propagated manually
This commit is contained in:
parent
f82867cea3
commit
9228c0a2d2
|
@ -78,10 +78,8 @@ stdenv.mkDerivation rec {
|
||||||
# conclusively in its README or otherwise; they can best be determined
|
# conclusively in its README or otherwise; they can best be determined
|
||||||
# by checking the CMake output for "Could NOT find".
|
# by checking the CMake output for "Could NOT find".
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
brotli
|
|
||||||
giflib
|
giflib
|
||||||
gperftools # provides `libtcmalloc`
|
gperftools # provides `libtcmalloc`
|
||||||
libhwy
|
|
||||||
libjpeg
|
libjpeg
|
||||||
libpng
|
libpng
|
||||||
libwebp
|
libwebp
|
||||||
|
@ -89,6 +87,11 @@ stdenv.mkDerivation rec {
|
||||||
zlib
|
zlib
|
||||||
];
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
brotli
|
||||||
|
libhwy
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
# For C dependencies like brotli, which are dynamically linked,
|
# For C dependencies like brotli, which are dynamically linked,
|
||||||
# we want to use the system libraries, so that we don't have to care about
|
# we want to use the system libraries, so that we don't have to care about
|
||||||
|
|
Loading…
Reference in a new issue