We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b120485 commit 26b5d53Copy full SHA for 26b5d53
src/pl/plpython/Makefile
@@ -1,4 +1,4 @@
1
-# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.13 2004/01/21 19:04:11 tgl Exp $
+# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.14 2004/09/24 20:08:42 tgl Exp $
2
3
subdir = src/pl/plpython
4
top_builddir = ../../..
@@ -12,6 +12,12 @@ ifneq (,$(wildcard $(python_configdir)/libpython*$(DLSUFFIX)*))
12
shared_libpython = yes
13
endif
14
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
+
21
# If we don't have a shared library and the platform doesn't allow it
22
# to work without, we have to skip it.
23
ifneq (,$(findstring yes, $(shared_libpython)$(allow_nonpic_in_shlib)))
0 commit comments