php: Link pgsql extension against libpcre
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 30 Mar 2017 21:54:20 +0000 (23:54 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 30 Mar 2017 21:54:20 +0000 (23:54 +0200)
commit1a6cff7349434503283297cd7b1821fe23b776fc
treefc13a090d031ab129e5e0c8fef4710c337b0d5c7
parent4b6a89d5fbcf3a8ac7fd58456b8bde2a1a0588ad
php: Link pgsql extension against libpcre

The pgsql extension uses pcre functions but does not link against
libpcre by default, as the php executable which dlopen():s the
extension already links against libpcre.

However, on Android this doesn't work, see
https://github.com/android-ndk/ndk/issues/201
so we need to link against libpcre explicitly.
packages/php/build.sh
packages/php/ext-pgsql-config.m4.patch [new file with mode: 0644]