php: Fix building pg extensions
This commit is contained in:
parent
0d1a1c8e58
commit
53530ad847
@ -32,8 +32,8 @@ ac_cv_func_res_nsearch=no
|
||||
--with-pcre-regex=$TERMUX_PREFIX
|
||||
--with-readline=$TERMUX_PREFIX
|
||||
--with-zlib
|
||||
--with-pgsql=shared
|
||||
--with-pdo-pgsql=shared
|
||||
--with-pgsql=shared,$TERMUX_PREFIX
|
||||
--with-pdo-pgsql=shared,$TERMUX_PREFIX
|
||||
--enable-fpm
|
||||
--sbindir=$TERMUX_PREFIX/bin
|
||||
"
|
||||
|
@ -46,3 +46,9 @@ termux_step_post_make_install() {
|
||||
(cd contrib/$contrib && make -s -j $TERMUX_MAKE_PROCESSES install)
|
||||
done
|
||||
}
|
||||
|
||||
termux_step_post_massage() {
|
||||
# Remove bin/pg_config so e.g. php doesn't try to use it, which won't
|
||||
# work as it's a cross-compiled binary:
|
||||
rm $TERMUX_PREFIX/bin/pg_config
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user