freeimage: cleanup suggestions from code review

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
main
Kevin Mehall 2 years ago
parent 5dcb09d3cb
commit 6ffe410983
  1. 9
      pkgs/development/libraries/freeimage/default.nix

@ -15,8 +15,13 @@ stdenv.mkDerivation {
sourceRoot = "svn-r1900/FreeImage/trunk";
# Ensure that the bundled libraries are not used at all
prePatch = "rm -rf Source/Lib* Source/OpenEXR Source/ZLib";
patches = [ ./unbundle.diff ./libtiff-4.4.0.diff ];
prePatch = ''
rm -rf Source/Lib* Source/OpenEXR Source/ZLib
'';
patches = [
./unbundle.diff
./libtiff-4.4.0.diff
];
postPatch = ''
# To support cross compilation, use the correct `pkg-config`.

Loading…
Cancel
Save