androidenv build-tools: fix old versions under linux

This commit is contained in:
Lenz Weber
2020-02-14 11:41:57 +01:00
parent cc1ae9f21b
commit 5ef31532b1
@@ -7,8 +7,10 @@ deployAndroidPackage {
patchInstructions = '' patchInstructions = ''
${lib.optionalString (os == "linux") '' ${lib.optionalString (os == "linux") ''
addAutoPatchelfSearchPath $packageBaseDir/lib addAutoPatchelfSearchPath $packageBaseDir/lib
addAutoPatchelfSearchPath $packageBaseDir/lib64 if [[ -d $packageBaseDir/lib64 ]]; then
autoPatchelf --no-recurse $packageBaseDir/lib64 addAutoPatchelfSearchPath $packageBaseDir/lib64
autoPatchelf --no-recurse $packageBaseDir/lib64
fi
autoPatchelf --no-recurse $packageBaseDir autoPatchelf --no-recurse $packageBaseDir
''} ''}