Skip to content

Commit

Permalink
Fix support for libgpgme
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Aug 23, 2024
1 parent fbb8999 commit f86e4fd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion utils/lib-copy/copy-dependencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@
$librariesThatExistOnLambda = array_map('trim', $librariesThatExistOnLambda);
// For some reason some libraries are actually not in Lambda, despite being in the docker image 🤷
$librariesThatExistOnLambda = array_filter($librariesThatExistOnLambda, function ($library) {
return ! str_contains($library, 'libgcrypt.so') && ! str_contains($library, 'libgpg-error.so');
return ! str_contains($library, 'libgcrypt.so')
&& ! str_contains($library, 'libgobject-2.0.so')
&& ! str_contains($library, 'libgpg-error.so')
&& ! str_contains($library, 'libgpgme-pthread.so')
&& ! str_contains($library, 'libgpgme.so')
;
});

$requiredLibraries = listDependencies($pathToCheck);
Expand Down

0 comments on commit f86e4fd

Please sign in to comment.