Skip to content

Commit 955c367

Browse files
committed
Fix pgsql embed builds
1 parent a613e9a commit 955c367

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/SPC/builder/extension/pgsql.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ class pgsql extends Extension
2121
*/
2222
public function patchBeforeConfigure(): bool
2323
{
24-
if ($this->builder->getPHPVersionID() >= 80400) {
25-
FileSystem::replaceFileStr(
26-
SOURCE_PATH . '/php-src/configure',
27-
'LIBS="-lpq',
28-
'LIBS="-lpq -lpgport -lpgcommon -lssl -lcrypto -lz -lm'
29-
);
30-
return true;
31-
}
3224
FileSystem::replaceFileRegex(
3325
SOURCE_PATH . '/php-src/configure',
3426
'/-lpq/',

0 commit comments

Comments
 (0)