diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2015-07-18 10:09:04 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2015-07-18 10:09:04 -0400 |
commit | 00eff86cb8c2c9de9197197b4176362d1433f8f6 (patch) | |
tree | 26d6f37a21350a55a5791c9df28dff54e99d0684 /contrib/hstore_plpython | |
parent | 473865048517c7808ddcf2299d054d8fe30fc6d5 (diff) | |
download | postgresql-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_plpython')
-rw-r--r-- | contrib/hstore_plpython/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/hstore_plpython/Makefile b/contrib/hstore_plpython/Makefile index 395fc737536..2de00a2c43c 100644 --- a/contrib/hstore_plpython/Makefile +++ b/contrib/hstore_plpython/Makefile @@ -33,6 +33,11 @@ ifeq ($(PORTNAME), win32) SHLIB_LINK += ../hstore/libhstore.a $(wildcard ../../src/pl/plpython/libpython*.a) $(wildcard ../../src/pl/plpython/libplpython*.a) endif +ifeq ($(PORTNAME), cygwin) +SHLIB_LINK += -L../hstore -lhstore -L../../src/pl/plpython \ + -lplpython$(python_majorversion) $(python_libspec) +endif + REGRESS_OPTS += --load-extension=hstore ifeq ($(python_majorversion),2) REGRESS_OPTS += --load-extension=plpythonu --load-extension=hstore_plpythonu |