diff --git a/pkgs/development/libraries/libjpeg-turbo/default.nix b/pkgs/development/libraries/libjpeg-turbo/default.nix index 826fd81a38a6..4e654168d4b4 100644 --- a/pkgs/development/libraries/libjpeg-turbo/default.nix +++ b/pkgs/development/libraries/libjpeg-turbo/default.nix @@ -20,8 +20,7 @@ stdenv.mkDerivation rec { preConfigure = '' cmakeFlagsArray+=( "-DCMAKE_INSTALL_BINDIR=$bin/bin" - "-DWITH_JPEG8=1" - "-DWITH_JPEG9=1" + "-DENABLE_STATIC=0" ) '';