From: Noah Misch Date: Thu, 16 Jul 2015 01:00:26 +0000 (-0400) Subject: MinGW: Link ltree_plpython with plpython. X-Git-Tag: REL9_6_BETA1~1681 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=736c1f238b3eeaf0f1cecf1753eb5194367fbad9;p=thirdparty%2Fpostgresql.git 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. --- 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