mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
simplify rm command
This commit is contained in:
parent
16e772e1a8
commit
b690566b39
@ -93,8 +93,7 @@ trait postgresql
|
|||||||
|
|
||||||
// remove dynamic libs
|
// remove dynamic libs
|
||||||
shell()->cd($this->source_dir . '/build')
|
shell()->cd($this->source_dir . '/build')
|
||||||
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.so.*")
|
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.so*")
|
||||||
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.so")
|
|
||||||
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.dylib");
|
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.dylib");
|
||||||
|
|
||||||
FileSystem::replaceFileStr("{$this->getLibDir()}/pkgconfig/libpq.pc", '-lldap', '-lldap -llber');
|
FileSystem::replaceFileStr("{$this->getLibDir()}/pkgconfig/libpq.pc", '-lldap', '-lldap -llber');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user