Skip to content

Commit 6f2efcd

Browse files
committed
Only install the extension files for the current Python major version
1 parent f81648c commit 6f2efcd

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