~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
php: Fix building pg extensions
[termux-packages]
/
packages
/
postgresql
/
build.sh
diff --git
a/packages/postgresql/build.sh
b/packages/postgresql/build.sh
index
d171037
..
0c280ce
100644
(file)
--- a/
packages/postgresql/build.sh
+++ b/
packages/postgresql/build.sh
@@
-46,3
+46,9
@@
termux_step_post_make_install() {
(cd contrib/$contrib && make -s -j $TERMUX_MAKE_PROCESSES install)
done
}
(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
+}