Re: BUG #6633: PL/Python build does not honor PYTHON on Mac OS X - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #6633: PL/Python build does not honor PYTHON on Mac OS X
Date
Msg-id 1336592567.8747.12.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: BUG #6633: PL/Python build does not honor PYTHON on Mac OS X  (Clay McClure <clay@daemons.net>)
List 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.


Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #6634: pg_dump dumps cast after objects depending on it
Next
From: kurosawa-akira@mxc.nes.nec.co.jp
Date:
Subject: BUG #6635: TRUNCATE didn't recreate init fork.