Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit26b5d53

Browse files
committed
Persuade plpython to build on OS X.
1 parentb120485 commit26b5d53

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+
overridepython_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)

[8]ページ先頭

©2009-2025 Movatter.jp