forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3b14a17
committed
Move pthread-tests earlier in the autoconf script.
On some Linux systems, "-lrt" exposed pthread-functions, so that linkingwith -lrt was seemingly enough to make a program that uses pthreads towork. However, when linking libpq, the dependency to libpthread was notmarked correctly, so that when an executable was linked with -lpq butwithout -pthread, you got errors about undefined pthread_* functions fromlibpq.To fix, test for the flags required to use pthreads earlier in the autoconfscript, before checking any other libraries.This should fix the failure on buildfarm member shearwater. gharial is alsofailing; hopefully this fixes that too although the failure looks somewhatdifferent.1 parente97af6c commit3b14a17
2 files changed
+3868
-3862
lines changed0 commit comments
Comments
(0)