patch libacl WIP

This commit is contained in:
Marc Henderkes
2025-03-10 10:25:35 +01:00
parent c6552f6800
commit 4e32ff47df
3 changed files with 22 additions and 2 deletions

View File

@@ -85,6 +85,11 @@ class SourcePatcher
logger()->info('Extension [' . $ext->getName() . '] patched before configure');
}
}
foreach ($builder->getLibs() as $lib) {
if ($lib->patchBeforeConfigure() === true) {
logger()->info('Library [' . $lib->getName() . '] patched before configure');
}
}
// patch capstone
FileSystem::replaceFileRegex(SOURCE_PATH . '/php-src/configure', '/have_capstone="yes"/', 'have_capstone="no"');
if ($builder instanceof LinuxBuilder && $builder->libc === 'glibc') {