Merge pull request #237199 from delroth/mupdf-shared

mupdf: actually build and install the shared libraries version
This commit is contained in:
Pierre Bourdon
2023-06-12 13:01:23 +02:00
committed by GitHub
+1 -3
View File
@@ -64,11 +64,9 @@ stdenv.mkDerivation rec {
substituteInPlace Makerules --replace "(shell pkg-config" "(shell $PKG_CONFIG"
'';
# Use shared libraries to decrease size
buildFlags = [ "shared" ];
makeFlags = [
"prefix=$(out)"
"shared=yes"
"USE_SYSTEM_LIBS=yes"
"PKG_CONFIG=${buildPackages.pkg-config}/bin/${buildPackages.pkg-config.targetPrefix}pkg-config"
] ++ lib.optionals (!enableX11) [ "HAVE_X11=no" ]