diff --git a/src/SPC/builder/unix/library/libuuid.php b/src/SPC/builder/unix/library/libuuid.php index 624999f9..abbc4a9f 100644 --- a/src/SPC/builder/unix/library/libuuid.php +++ b/src/SPC/builder/unix/library/libuuid.php @@ -6,9 +6,16 @@ namespace SPC\builder\unix\library; use SPC\exception\FileSystemException; use SPC\exception\RuntimeException; +use SPC\store\FileSystem; trait libuuid { + public function patchBeforeBuild(): bool + { + FileSystem::replaceFileStr($this->source_dir . '/configure', '-${am__api_version}', ''); + return true; + } + /** * @throws FileSystemException * @throws RuntimeException