Still more third thoughts: when linking shared libraries, LDFLAGS probably
Tom Lane <tgl@sss.pgh.pa.us>
Still more third thoughts: when linking shared libraries, LDFLAGS probably needs to appear before anything placed in SHLIB_LINK. This is because SHLIB_LINK is typically a subset of LIBS, and LIBS has to appear after LDFLAGS on platforms that are sensitive to the relative order of -L and -l switches.
Files
| Path | Change | +/− |
|---|---|---|
| src/Makefile.shlib | modified | +4 −7 |