]> git.ipfire.org Git - thirdparty/psycopg.git/commit
ci: fix bad expansion of an array variable in build_libpq.sh
authorubifred <93384039+ubifred@users.noreply.github.com>
Fri, 10 Oct 2025 11:35:35 +0000 (13:35 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Oct 2025 11:35:35 +0000 (12:35 +0100)
commit9320a6cda60dc799fab092a411451f2e322c394f
treedb96a02c28375193a5afa9259587d35e0740d061
parent04fa5640ba3cddf52b4928c85ca658e2ba7397c5
ci: fix bad expansion of an array variable in build_libpq.sh

* ci: fix bad expansion of an array variable in build_libpq.sh

The `options` array variable have been introduced in
`adb8336a392a71a3cb2ddf18bd9b17238a01a06e` but is used with `$options`
which only expand the 1st value (for bash).

The full expansion have to be done with `${options[*]}`

Note that `-shared` and `-fPIC` options are still used as they are
enabled by default by `./Configure`, but the `zlib` option is not taken
into account (disabled by default)

* ci: fix wrong command

`./configure` does not exists

Fix #1178
tools/ci/build_libpq.sh