Re: Libpq is not a shared library on Mac OS X - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Libpq is not a shared library on Mac OS X
Date
Msg-id 24491.1044156240@sss.pgh.pa.us
Whole thread Raw
In response to Re: Libpq is not a shared library on Mac OS X  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
I said:
>> I will test and apply the parts that are related to OS X shared library
>> behavior.

For the moment I am forced to reject this patch entirely, because it
breaks the regression tests.

The trouble is that src/test/regress/GNUmakefile doesn't use
Makefile.shlib, but relies on the contents of the port makefile
to build regress.so.  The patch changes Makefile.darwin to define
DLSUFFIX as .dylib, but the provided rule for making a dylib is
inappropriate for the regression shlib.

I am inclined to think that the right answer is to give up the shortcut
of not including Makefile.shlib in regress/GNUmakefile ... in which case
we could probably remove the stub .so rules from the port makefiles
altogether.  But I don't have time at the moment to investigate this.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: ECPG does not recognise typedefs
Next
From:
Date:
Subject: Complex cursor won't rewind to 0-th row