fix ldap for postgresql

This commit is contained in:
DubbleClick
2025-06-07 23:00:26 +07:00
parent 08d3849c43
commit 2f53915064
5 changed files with 14 additions and 9 deletions

View File

@@ -120,7 +120,7 @@ trait postgresql
->exec("rm -rf {$builddir}/lib/*.so")
->exec("rm -rf {$builddir}/lib/*.dylib");
FileSystem::replaceFileStr(BUILD_LIB_PATH . '/libpq.pc', '-lldap', '-lldap -llber');
FileSystem::replaceFileStr(BUILD_LIB_PATH . '/pkgconfig/libpq.pc', '-lldap', '-lldap -llber');
}
private function getVersion(): string