mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
fix attr and acl build without autogen.sh (if we don't download from git) (#718)
This commit is contained in:
parent
22a438ed5e
commit
f755d66342
@ -20,7 +20,7 @@ trait attr
|
|||||||
'LIBS' => $this->getLibExtraLibs(),
|
'LIBS' => $this->getLibExtraLibs(),
|
||||||
])
|
])
|
||||||
->execWithEnv('libtoolize --force --copy')
|
->execWithEnv('libtoolize --force --copy')
|
||||||
->execWithEnv('./autogen.sh')
|
->execWithEnv('./autogen.sh || autoreconf -if')
|
||||||
->execWithEnv('./configure --prefix= --enable-static --disable-shared --with-pic --disable-nls')
|
->execWithEnv('./configure --prefix= --enable-static --disable-shared --with-pic --disable-nls')
|
||||||
->execWithEnv("make -j {$this->builder->concurrency}")
|
->execWithEnv("make -j {$this->builder->concurrency}")
|
||||||
->exec('make install DESTDIR=' . BUILD_ROOT_PATH);
|
->exec('make install DESTDIR=' . BUILD_ROOT_PATH);
|
||||||
|
|||||||
@ -36,7 +36,7 @@ trait libacl
|
|||||||
'LIBS' => $this->getLibExtraLibs(),
|
'LIBS' => $this->getLibExtraLibs(),
|
||||||
])
|
])
|
||||||
->execWithEnv('libtoolize --force --copy')
|
->execWithEnv('libtoolize --force --copy')
|
||||||
->execWithEnv('./autogen.sh')
|
->execWithEnv('./autogen.sh || autoreconf -if')
|
||||||
->execWithEnv('./configure --prefix= --enable-static --disable-shared --disable-tests --disable-nls')
|
->execWithEnv('./configure --prefix= --enable-static --disable-shared --disable-tests --disable-nls')
|
||||||
->execWithEnv("make -j {$this->builder->concurrency}")
|
->execWithEnv("make -j {$this->builder->concurrency}")
|
||||||
->exec('make install DESTDIR=' . BUILD_ROOT_PATH);
|
->exec('make install DESTDIR=' . BUILD_ROOT_PATH);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user