libelf: prevent massive re-build

Co-authored-by: John Ericson <git@JohnEricson.me>
main
Dylan Green 2 years ago committed by GitHub
parent df3298f2ef
commit 792988c35e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkgs/development/libraries/libelf/default.nix

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
doCheck = true;
preConfigure = lib.optionalString (stdenv.hostPlatform.useAndroidPrebuilt) ''
preConfigure = if !stdenv.hostPlatform.useAndroidPrebuilt then null else ''
sed -i 's|DISTSUBDIRS = lib po|DISTSUBDIRS = lib|g' Makefile.in
sed -i 's|SUBDIRS = lib @POSUB@|SUBDIRS = lib|g' Makefile.in
'';

Loading…
Cancel
Save