Skip to content

Commit f86e4fd

Browse files
committed
Fix support for libgpgme
Related to brefphp/extra-php-extensions#443
1 parent fbb8999 commit f86e4fd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

utils/lib-copy/copy-dependencies.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@
3636
$librariesThatExistOnLambda = array_map('trim', $librariesThatExistOnLambda);
3737
// For some reason some libraries are actually not in Lambda, despite being in the docker image 🤷
3838
$librariesThatExistOnLambda = array_filter($librariesThatExistOnLambda, function ($library) {
39-
return ! str_contains($library, 'libgcrypt.so') && ! str_contains($library, 'libgpg-error.so');
39+
return ! str_contains($library, 'libgcrypt.so')
40+
&& ! str_contains($library, 'libgobject-2.0.so')
41+
&& ! str_contains($library, 'libgpg-error.so')
42+
&& ! str_contains($library, 'libgpgme-pthread.so')
43+
&& ! str_contains($library, 'libgpgme.so')
44+
;
4045
});
4146

4247
$requiredLibraries = listDependencies($pathToCheck);

0 commit comments

Comments
 (0)