Make sure LDFLAGS come before LIBS when linking contrib programs.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: bdf00543c2a645b7a773cdcd81fbd4e38e64ee1c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-07-05T23:30:50Z
Releases: 9.0.0
Make sure LDFLAGS come before LIBS when linking contrib programs.
Solaris, at least, seems to be sensitive to the relative order of -L
and -l switches, so this is needed.  Per buildfarm results.

Files

PathChange+/−
src/makefiles/pgxs.mk modified +2 −2