summaryrefslogtreecommitdiff
path: root/src/backend/optimizer
diff options
context:
space:
mode:
authorAmit Khandekar2011-12-22 04:47:17 +0000
committerAmit Khandekar2011-12-22 04:47:17 +0000
commit2140b647f169e236dbe652106245e240ce2aa865 (patch)
tree71601e217c69218f74b25870529789de7f831d9f /src/backend/optimizer
parentef0e9f95e51e4828f69da452f0eb97b413bbc2c9 (diff)
Fix for Bug id:3425212:
Failed to build on Ubuntu 11.10 Ubuntu 11 no longer has the libpthread.so in the usual locations like /lib or /usr/lib. We have hardcoded -lpthread linker option used in gtm module. The fix is to instead use PTHREAD_CFLAGS macro that is defined in src/Makefile.global. This macro has the correct pthread options already. In this particular issue, the -pthread (not -lpthread) option was the one that was needed to resolve the compile errors. The backend postgres executable also needs this option in case of XC, because it uses functions from src/interfaces/libpq/fe-secure.c which in turn uses pthread calls.
Diffstat (limited to 'src/backend/optimizer')
0 files changed, 0 insertions, 0 deletions