mysql_fdw
mysql_fdw copied to clipboard
Add RTLD_DEEPBIND existence check (fix builds on Alpine Linux)
Closes #187.
Checks for RTLD_DEEPBIND
directly, rather than checking for __APPLE__
and __FreeBSD__
This was causing build failures in Alpine Linux, which uses musl
instead of glibc
and does not include RTLD_DEEPBIND
:
https://git.musl-libc.org/cgit/musl/tree/include/dlfcn.h
This could fix compilation in the official Postgres Docker image. Can we please get this improvement reviewed/merged? @jeevanchalke