]> granicus.if.org Git - postgresql/commitdiff
MinGW: Link ltree_plpython with plpython.
authorNoah Misch <noah@leadboat.com>
Thu, 16 Jul 2015 01:00:26 +0000 (21:00 -0400)
committerNoah Misch <noah@leadboat.com>
Thu, 16 Jul 2015 01:00:30 +0000 (21:00 -0400)
The MSVC build system already did this, and building against Python 3
requires it.  Back-patch to 9.5, where the module was introduced.

contrib/ltree_plpython/Makefile

index 64ca1275f1cb1b9e47dda507ddc9cc50ee8ecede..0eeb9b83eb3b884c026054378bbd7ca7b6ae755f 100644 (file)
@@ -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