mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Only install the extension files for the current Python major version
This commit is contained in:
parent
f81648cb1e
commit
6f2efcd557
@ -40,9 +40,10 @@ NAME = plpython$(python_majorversion)
|
|||||||
|
|
||||||
OBJS = plpython.o
|
OBJS = plpython.o
|
||||||
|
|
||||||
DATA = plpythonu.control plpythonu--1.0.sql plpythonu--unpackaged--1.0.sql \
|
DATA = $(NAME)u.control $(NAME)u--1.0.sql $(NAME)u--unpackaged--1.0.sql
|
||||||
plpython2u.control plpython2u--1.0.sql plpython2u--unpackaged--1.0.sql \
|
ifeq ($(python_majorversion),2)
|
||||||
plpython3u.control plpython3u--1.0.sql plpython3u--unpackaged--1.0.sql
|
DATA += plpythonu.control plpythonu--1.0.sql plpythonu--unpackaged--1.0.sql
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# Python on win32 ships with import libraries only for Microsoft Visual C++,
|
# Python on win32 ships with import libraries only for Microsoft Visual C++,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user