mysql_fdw icon indicating copy to clipboard operation
mysql_fdw copied to clipboard

Add RTLD_DEEPBIND existence check (fix builds on Alpine Linux)

Open aiwebb opened this issue 4 years ago • 1 comments

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

aiwebb avatar May 19 '20 21:05 aiwebb

This could fix compilation in the official Postgres Docker image. Can we please get this improvement reviewed/merged? @jeevanchalke

pinko-fowle avatar May 13 '22 16:05 pinko-fowle