Skip to content

Commit

Permalink
Fix pgsql missing symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywhalecc committed Dec 9, 2024
1 parent cf37e16 commit 94e1103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SPC/builder/extension/pgsql.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function patchBeforeConfigure(): bool
public function getUnixConfigureArg(): string
{
if ($this->builder->getPHPVersionID() >= 80400) {
return '--with-pgsql=' . BUILD_ROOT_PATH . ' PGSQL_CFLAGS=-I' . BUILD_INCLUDE_PATH . ' PGSQL_LIBS="-L' . BUILD_LIB_PATH . ' -lpq -lpgport -lpgcommon"';
return '--with-pgsql PGSQL_CFLAGS=-I' . BUILD_INCLUDE_PATH . ' PGSQL_LIBS="-L' . BUILD_LIB_PATH . ' -lpq -lpgport -lpgcommon"';
}
return '--with-pgsql=' . BUILD_ROOT_PATH;
}
Expand Down

0 comments on commit 94e1103

Please sign in to comment.