mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
the flag doesn't fix it, the problem is something else
This commit is contained in:
parent
4a44282556
commit
64b6f98ce7
@ -44,7 +44,7 @@ class pgsql extends Extension
|
|||||||
$libfiles = str_replace(' -lpgcommon', '', $libfiles);
|
$libfiles = str_replace(' -lpgcommon', '', $libfiles);
|
||||||
return '--with-pgsql' . ($shared ? '=shared' : '') .
|
return '--with-pgsql' . ($shared ? '=shared' : '') .
|
||||||
' PGSQL_CFLAGS=-I' . BUILD_INCLUDE_PATH .
|
' PGSQL_CFLAGS=-I' . BUILD_INCLUDE_PATH .
|
||||||
' PGSQL_LIBS="-L' . BUILD_LIB_PATH . ' -Wl,--whole-archive -lpq -lpgport -lpgcommon -Wl,--no-whole-archive ' . $libfiles . '"';
|
' PGSQL_LIBS="-L' . BUILD_LIB_PATH . ' -lpq -lpgport -lpgcommon ' . $libfiles . '"';
|
||||||
}
|
}
|
||||||
return '--with-pgsql=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH;
|
return '--with-pgsql=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user