aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2015-07-15 21:00:26 -0400
committerNoah Misch <noah@leadboat.com>2015-07-15 21:00:26 -0400
commit736c1f238b3eeaf0f1cecf1753eb5194367fbad9 (patch)
tree6a8eea56a1924d95dfaf84b7cdfd5a20dd2c770e
parentb1b667172242aaffa33f91360d9448fe98b65697 (diff)
downloadpostgresql-736c1f238b3eeaf0f1cecf1753eb5194367fbad9.tar.gz
postgresql-736c1f238b3eeaf0f1cecf1753eb5194367fbad9.zip
MinGW: Link ltree_plpython with plpython.
The MSVC build system already did this, and building against Python 3 requires it. Back-patch to 9.5, where the module was introduced.
-rw-r--r--contrib/ltree_plpython/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ltree_plpython/Makefile b/contrib/ltree_plpython/Makefile
index 64ca1275f1c..0eeb9b83eb3 100644
--- a/contrib/ltree_plpython/Makefile
+++ b/contrib/ltree_plpython/Makefile
@@ -25,7 +25,7 @@ endif
ifeq ($(PORTNAME), win32)
# This means we need an in-tree build on Windows, not a pgxs build
-SHLIB_LINK += $(wildcard ../../src/pl/plpython/libpython*.a)
+SHLIB_LINK += $(wildcard ../../src/pl/plpython/libpython*.a) $(wildcard ../../src/pl/plpython/libplpython*.a)
endif
REGRESS_OPTS += --load-extension=ltree