androidenv.lldb: Fix libssl not found

This commit is contained in:
Hernawan Faïz Abdillah 2020-01-07 14:02:13 +07:00 committed by GitHub
parent f412725449
commit 82a2a9eabf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
deployAndroidPackage { deployAndroidPackage {
inherit package os; inherit package os;
buildInputs = [ autoPatchelfHook ] buildInputs = [ autoPatchelfHook ]
++ lib.optional (os == "linux") [ pkgs.glibc pkgs.stdenv.cc.cc pkgs.zlib pkgs.openssl.out pkgs.ncurses5 ]; ++ lib.optional (os == "linux") [ pkgs.glibc pkgs.stdenv.cc.cc pkgs.zlib pkgs.openssl_1_0_2.out pkgs.ncurses5 ];
patchInstructions = lib.optionalString (os == "linux") '' patchInstructions = lib.optionalString (os == "linux") ''
addAutoPatchelfSearchPath $packageBaseDir/lib addAutoPatchelfSearchPath $packageBaseDir/lib
autoPatchelf $packageBaseDir/lib autoPatchelf $packageBaseDir/lib