aboutsummaryrefslogtreecommitdiff
path: root/contrib/hstore_plperl
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2015-07-18 10:09:04 -0400
committerAndrew Dunstan <andrew@dunslane.net>2015-07-18 10:09:04 -0400
commit00eff86cb8c2c9de9197197b4176362d1433f8f6 (patch)
tree26d6f37a21350a55a5791c9df28dff54e99d0684 /contrib/hstore_plperl
parent473865048517c7808ddcf2299d054d8fe30fc6d5 (diff)
downloadpostgresql-00eff86cb8c2c9de9197197b4176362d1433f8f6.tar.gz
postgresql-00eff86cb8c2c9de9197197b4176362d1433f8f6.zip
Enable transforms modules to build and test on Cygwin.
This still doesn't work correctly with Python 3, but I am committing this so we can get Cygwin buildfarm members building with Python 2.
Diffstat (limited to 'contrib/hstore_plperl')
-rw-r--r--contrib/hstore_plperl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/hstore_plperl/Makefile b/contrib/hstore_plperl/Makefile
index d789b99375a..8f7b171bcd6 100644
--- a/contrib/hstore_plperl/Makefile
+++ b/contrib/hstore_plperl/Makefile
@@ -35,6 +35,10 @@ override CPPFLAGS += -DPLPERL_HAVE_UID_GID -Wno-comment
SHLIB_LINK += ../hstore/libhstore.a $(wildcard ../../src/pl/plperl/libperl*.a)
endif
+ifeq ($(PORTNAME), cygwin)
+SHLIB_LINK += -L../hstore -l hstore $(perl_embed_ldflags)
+endif
+
# As with plperl we need to make sure that the CORE directory is included
# last, probably because it sometimes contains some header files with names
# that clash with some of ours, or with some that we include, notably on