diff --git a/src/SPC/builder/unix/library/attr.php b/src/SPC/builder/unix/library/attr.php index f57d26bd..ce542ddd 100644 --- a/src/SPC/builder/unix/library/attr.php +++ b/src/SPC/builder/unix/library/attr.php @@ -20,7 +20,7 @@ trait attr 'LIBS' => $this->getLibExtraLibs(), ]) ->execWithEnv('libtoolize --force --copy') - ->execWithEnv('./autogen.sh') + ->execWithEnv('./autogen.sh || autoreconf -if') ->execWithEnv('./configure --prefix= --enable-static --disable-shared --with-pic --disable-nls') ->execWithEnv("make -j {$this->builder->concurrency}") ->exec('make install DESTDIR=' . BUILD_ROOT_PATH); diff --git a/src/SPC/builder/unix/library/libacl.php b/src/SPC/builder/unix/library/libacl.php index c9e55df5..6abfbb5b 100644 --- a/src/SPC/builder/unix/library/libacl.php +++ b/src/SPC/builder/unix/library/libacl.php @@ -36,7 +36,7 @@ trait libacl 'LIBS' => $this->getLibExtraLibs(), ]) ->execWithEnv('libtoolize --force --copy') - ->execWithEnv('./autogen.sh') + ->execWithEnv('./autogen.sh || autoreconf -if') ->execWithEnv('./configure --prefix= --enable-static --disable-shared --disable-tests --disable-nls') ->execWithEnv("make -j {$this->builder->concurrency}") ->exec('make install DESTDIR=' . BUILD_ROOT_PATH);