thread safety for pgsql (in version 17, remove this entirely)

This commit is contained in:
DubbleClick
2025-06-07 21:16:15 +07:00
parent 0b8543e6dd
commit 23be5484e3
3 changed files with 8 additions and 5 deletions

View File

@@ -50,6 +50,8 @@ trait ldap
->exec('sed -i -e "s/SUBDIRS= include libraries clients servers tests doc/SUBDIRS= include libraries clients servers/g" Makefile')
->exec("make -j{$this->builder->concurrency}")
->exec('make install DESTDIR=' . BUILD_ROOT_PATH);
FileSystem::replaceFileLineContainsString(BUILD_LIB_PATH . '/pkgconfig/ldap.pc', 'Libs: -L${libdir} -lldap', 'Libs: -L${libdir} -lldap -llber');
$this->patchPkgconfPrefix(['ldap.pc', 'lber.pc']);
$this->patchLaDependencyPrefix(['libldap.la', 'liblber.la']);
}