Commit e71c76f
committed
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 46ab07f.
Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-1 parent c97e4bd commit e71c76f
2 files changed
+19
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11856 | 11856 | | |
11857 | 11857 | | |
11858 | 11858 | | |
11859 | | - | |
11860 | | - | |
11861 | | - | |
| 11859 | + | |
| 11860 | + | |
| 11861 | + | |
| 11862 | + | |
| 11863 | + | |
| 11864 | + | |
11862 | 11865 | | |
11863 | 11866 | | |
11864 | 11867 | | |
| |||
11871 | 11874 | | |
11872 | 11875 | | |
11873 | 11876 | | |
11874 | | - | |
| 11877 | + | |
11875 | 11878 | | |
11876 | 11879 | | |
11877 | 11880 | | |
11878 | | - | |
| 11881 | + | |
11879 | 11882 | | |
11880 | 11883 | | |
11881 | 11884 | | |
| |||
11888 | 11891 | | |
11889 | 11892 | | |
11890 | 11893 | | |
11891 | | - | |
| 11894 | + | |
11892 | 11895 | | |
11893 | 11896 | | |
11894 | 11897 | | |
11895 | | - | |
| 11898 | + | |
11896 | 11899 | | |
11897 | 11900 | | |
11898 | 11901 | | |
11899 | | - | |
| 11902 | + | |
11900 | 11903 | | |
11901 | 11904 | | |
11902 | | - | |
| 11905 | + | |
11903 | 11906 | | |
11904 | 11907 | | |
11905 | 11908 | | |
11906 | 11909 | | |
11907 | | - | |
11908 | | - | |
11909 | | - | |
| 11910 | + | |
| 11911 | + | |
| 11912 | + | |
11910 | 11913 | | |
11911 | 11914 | | |
11912 | 11915 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1229 | 1229 | | |
1230 | 1230 | | |
1231 | 1231 | | |
1232 | | - | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
1233 | 1236 | | |
1234 | 1237 | | |
1235 | 1238 | | |
| |||
0 commit comments