diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-11-09 21:43:04 +0200 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-11-09 21:46:15 +0200 |
commit | 6f2efcd557bb3309e70751daf1fb7c74bbaa4061 (patch) | |
tree | e23eea783ab0be30c8e2e7ec682144abe597524c /src | |
parent | f81648cb1ee5ce8d2e479a17db512046012c77e7 (diff) | |
download | postgresql-6f2efcd557bb3309e70751daf1fb7c74bbaa4061.tar.gz postgresql-6f2efcd557bb3309e70751daf1fb7c74bbaa4061.zip |
Only install the extension files for the current Python major version
Diffstat (limited to 'src')
-rw-r--r-- | src/pl/plpython/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile index 56e06d74f12..df07fc2ced0 100644 --- a/src/pl/plpython/Makefile +++ b/src/pl/plpython/Makefile @@ -40,9 +40,10 @@ NAME = plpython$(python_majorversion) OBJS = plpython.o -DATA = plpythonu.control plpythonu--1.0.sql plpythonu--unpackaged--1.0.sql \ - plpython2u.control plpython2u--1.0.sql plpython2u--unpackaged--1.0.sql \ - plpython3u.control plpython3u--1.0.sql plpython3u--unpackaged--1.0.sql +DATA = $(NAME)u.control $(NAME)u--1.0.sql $(NAME)u--unpackaged--1.0.sql +ifeq ($(python_majorversion),2) +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++, |