Cause libpq and ecpg libraries to be built as proper shared libraries
authorTom Lane <[email protected]>
Tue, 13 Jul 2004 00:06:46 +0000 (00:06 +0000)
committerTom Lane <[email protected]>
Tue, 13 Jul 2004 00:06:46 +0000 (00:06 +0000)
commit9df30869725a9cbf5012f5bcc5afa0c7aed46152
tree53192d9faa224004ec2385f3f483817220cf25a1
parent8b6f76af46ad49bfcac3136361aa046183de3b2b
Cause libpq and ecpg libraries to be built as proper shared libraries
(.dylib format) on Mac OS X, while not messing up loadable modules for
the backend (which are the same kind of animal as a shared library on
every other platform, but not here).  Also get the naming convention
to match OS X practice, viz libFOO.version.so not libFOO.so.version.
In support of that last, refactor code in Makefile.shlib to make it
easier to have platform-specific shlib naming conventions.
This patch is loosely based on the Fink project's current postgresql.patch.
Tested by yours truly on OS X 10.3.4; does anyone have 10.2.* to check
it on?
src/Makefile.shlib
src/interfaces/ecpg/compatlib/Makefile
src/interfaces/ecpg/ecpglib/Makefile
src/interfaces/ecpg/pgtypeslib/Makefile
src/interfaces/libpq/Makefile