* 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
options=(--prefix=${LIBPQ_BUILD_PREFIX} --openssldir=${LIBPQ_BUILD_PREFIX} \
zlib -fPIC shared)
if [ -z "${MACOSX_ARCHITECTURE:-}" ]; then
- ./config $options
+ ./config ${options[*]}
else
- ./configure "darwin64-$MACOSX_ARCHITECTURE-cc" $options
+ ./config "darwin64-$MACOSX_ARCHITECTURE-cc" ${options[*]}
fi
make -s depend