OSDN Git Service

Still more third thoughts: when linking shared libraries, LDFLAGS probably
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Jul 2010 03:55:33 +0000 (03:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Jul 2010 03:55:33 +0000 (03:55 +0000)
commit8307b092b78c514ca1ca09d5cc9900bc2b672095
tree5ee43ecada5fd977d98a75fadda1d810357ed76f
parent0a4ecfe77e3e355bed00e2bd8130c192fe8f1c4e
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.
src/Makefile.shlib