diff options
author | Andres Freund <andres@anarazel.de> | 2022-03-23 12:43:14 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-03-23 12:43:14 -0700 |
commit | e71c76fcab8d00defe9a7a608facdd9663f7bcbf (patch) | |
tree | 5813cc77ad34382158931f80f86c74dc4ce06f00 /src/backend/utils/cache/relcache.c | |
parent | c97e4bdcb142effc452d33b81f31e0b3ac990b71 (diff) | |
download | postgresql-e71c76fcab8d00defe9a7a608facdd9663f7bcbf.tar.gz postgresql-e71c76fcab8d00defe9a7a608facdd9663f7bcbf.zip |
configure: check for dlsym instead of dlopen.
When building with sanitizers the sanitizer library provides dlopen, but not
dlsym(), making configure think that -ldl isn't needed. Just checking for
dlsym() ought to suffice, hard to see dlsym() being provided without dlopen()
also being provided.
Backpatch to all branches, for the same reasons as 46ab07ffda9.
Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-
Diffstat (limited to 'src/backend/utils/cache/relcache.c')
0 files changed, 0 insertions, 0 deletions