Skip to content

Commit 26b5d53

Browse files
committed
Persuade plpython to build on OS X.
1 parent b120485 commit 26b5d53

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/pl/plpython/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.13 2004/01/21 19:04:11 tgl Exp $
1+
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.14 2004/09/24 20:08:42 tgl Exp $
22

33
subdir = src/pl/plpython
44
top_builddir = ../../..
@@ -12,6 +12,12 @@ ifneq (,$(wildcard $(python_configdir)/libpython*$(DLSUFFIX)*))
1212
shared_libpython = yes
1313
endif
1414

15+
# Darwin (OS X) has its own ideas about how to do this.
16+
ifeq ($(PORTNAME), darwin)
17+
shared_libpython = yes
18+
override python_libspec := -framework Python
19+
endif
20+
1521
# If we don't have a shared library and the platform doesn't allow it
1622
# to work without, we have to skip it.
1723
ifneq (,$(findstring yes, $(shared_libpython)$(allow_nonpic_in_shlib)))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy