libpq3-config1
Report library options for linking libpq3
Usage
libpq3-config
Overview
Reports the library options that need to be given to gcc in order to link in the correct libraries to programs using libpq3.a. (The same libraries are needed for libpq3.so, but dynamic linking of shared libraries is handled at runtime.)
Examples
gcc -o myprog myprog.c -static -lpq `/usr/lib/postgresql/bin/libpq3-config`