Re: BUG #6633: PL/Python build does not honor PYTHON on Mac OS X

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #6633: PL/Python build does not honor PYTHON on Mac OS X
Дата
Msg-id 1336592567.8747.12.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: BUG #6633: PL/Python build does not honor PYTHON on Mac OS X  (Clay McClure <clay@daemons.net>)
Список pgsql-bugs
On tis, 2012-05-08 at 11:33 -0400, Clay McClure wrote:
> "The gist of it is to grab python-config --prefix and store it in a
> variable, say py_prefix. If the file $py_prefix/Python exists, you are
> dealing with a Framework build and -framework Python is the
> appropriate method of linking. Otherwise, you have a UNIX-style build
> and -lpython is the appropriate method of linking."

Please try the attached patch.  It's completely untested, as I don't
have that platform, but as a guidance about how it might work.


Вложения

В списке pgsql-bugs по дате отправления: