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

Commit6f2efcd

Browse files
committed
Only install the extension files for the current Python major version
1 parentf81648c commit6f2efcd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/pl/plpython/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ NAME = plpython$(python_majorversion)
4040

4141
OBJS = plpython.o
4242

43-
DATA = plpythonu.control plpythonu--1.0.sql plpythonu--unpackaged--1.0.sql\
44-
plpython2u.control plpython2u--1.0.sql plpython2u--unpackaged--1.0.sql\
45-
plpython3u.control plpython3u--1.0.sql plpython3u--unpackaged--1.0.sql
43+
DATA =$(NAME)u.control$(NAME)u--1.0.sql$(NAME)u--unpackaged--1.0.sql
44+
ifeq ($(python_majorversion),2)
45+
DATA += plpythonu.control plpythonu--1.0.sql plpythonu--unpackaged--1.0.sql
46+
endif
4647

4748

4849
# Python on win32 ships with import libraries only for Microsoft Visual C++,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp