mupdf: only build and install shared libraries

+2 -5
+2 -5
pkgs/applications/misc/mupdf/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchurl 4 - , fetchpatch 5 4 , fetchFromGitHub 6 5 , copyDesktopItems 7 6 , makeDesktopItem ··· 70 69 substituteInPlace Makerules --replace "(shell pkg-config" "(shell $PKG_CONFIG" 71 70 ''; 72 71 73 - # Use shared libraries to decrease size 74 - buildFlags = [ "shared" ]; 75 - 76 72 makeFlags = [ 77 73 "prefix=$(out)" 74 + "shared=yes" 78 75 "USE_SYSTEM_LIBS=yes" 79 76 "PKG_CONFIG=${buildPackages.pkg-config}/bin/${buildPackages.pkg-config.targetPrefix}pkg-config" 80 77 ] ++ lib.optionals (!enableX11) [ "HAVE_X11=no" ] ··· 136 133 Name: mupdf 137 134 Description: Library for rendering PDF documents 138 135 Version: ${version} 139 - Libs: -L$out/lib -lmupdf -lmupdf-third 136 + Libs: -L$out/lib -lmupdf 140 137 Cflags: -I$dev/include 141 138 EOF 142 139