Re: Libpq is not a shared library on Mac OS X

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Libpq is not a shared library on Mac OS X
Дата
Msg-id 24491.1044156240@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Libpq is not a shared library on Mac OS X  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: ECPG does not recognise typedefs
Следующее
От:
Дата:
Сообщение: Complex cursor won't rewind to 0-th row