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:11:33 -0400 |
| commit | d27fad73e8de2f3f9b68096926735d53d87e7f6a (patch) | |
| tree | ec199efd7fc4028475e05135b5d95d03d73e96c9 /contrib/ltree_plpython | |
| parent | 0beef5af3a4821155251d8d445b9ba1296381645 (diff) | |
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/ltree_plpython')
| -rw-r--r-- | contrib/ltree_plpython/Makefile | 5 |
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 |
