aboutsummaryrefslogtreecommitdiff
path: root/contrib/ltree_plpython/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ltree_plpython/Makefile')
-rw-r--r--contrib/ltree_plpython/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/ltree_plpython/Makefile b/contrib/ltree_plpython/Makefile
index 20b0dcfbc58..7eacb401159 100644
--- a/contrib/ltree_plpython/Makefile
+++ b/contrib/ltree_plpython/Makefile
@@ -33,6 +33,11 @@ ifeq ($(PORTNAME), win32)
SHLIB_LINK += $(wildcard ../../src/pl/plpython/libpython*.a) $(wildcard ../../src/pl/plpython/libplpython*.a)
endif
+ifeq ($(PORTNAME), cygwin)
+SHLIB_LINK += -L../ltree -lltree -L../../src/pl/plpython \
+ -lplpython$(python_majorversion) $(python_libspec)
+endif
+
REGRESS_OPTS += --load-extension=ltree
ifeq ($(python_majorversion),2)
REGRESS_OPTS += --load-extension=plpythonu --load-extension=ltree_plpythonu