Forward-port #1056 on v3

This commit is contained in:
crazywhalecc
2026-03-10 16:41:01 +08:00
parent b89a29d5f3
commit 465549f97d
4 changed files with 11 additions and 13 deletions

View File

@@ -119,8 +119,7 @@ class postgresql extends LibraryPackage
// remove dynamic libs
shell()->cd($this->getSourceDir() . '/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");
FileSystem::replaceFileStr("{$this->getLibDir()}/pkgconfig/libpq.pc", '-lldap', '-lldap -llber');