libelf: prevent massive re-build
Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
parent
df3298f2ef
commit
792988c35e
|
@ -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…
Reference in a new issue