Fix pgsql linux builds with PHP 8.4

This commit is contained in:
crazywhalecc 2024-12-05 18:02:24 +08:00 committed by Jerry Ma
parent fe72b800c6
commit 64258e3513

View File

@ -25,7 +25,7 @@ class pgsql extends Extension
FileSystem::replaceFileStr(
SOURCE_PATH . '/php-src/configure',
'LIBS="-lpq',
'LIBS="-lpq -lpgport -lpgcommon'
'LIBS="-lpq -lpgport -lpgcommon -lssl -lcrypto -lz -lm'
);
return true;
}