Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit00eff86

Browse files
committed
Enable transforms modules to build and test on Cygwin.
This still doesn't work correctly with Python 3, but I am committingthis so we can get Cygwin buildfarm members building with Python 2.
1 parent4738650 commit00eff86

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

‎contrib/hstore_plperl/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ override CPPFLAGS += -DPLPERL_HAVE_UID_GID -Wno-comment
3535
SHLIB_LINK += ../hstore/libhstore.a$(wildcard ../../src/pl/plperl/libperl*.a)
3636
endif
3737

38+
ifeq ($(PORTNAME), cygwin)
39+
SHLIB_LINK += -L../hstore -l hstore$(perl_embed_ldflags)
40+
endif
41+
3842
# As with plperl we need to make sure that the CORE directory is included
3943
# last, probably because it sometimes contains some header files with names
4044
# that clash with some of ours, or with some that we include, notably on

‎contrib/hstore_plpython/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ ifeq ($(PORTNAME), win32)
3333
SHLIB_LINK += ../hstore/libhstore.a$(wildcard ../../src/pl/plpython/libpython*.a)$(wildcard ../../src/pl/plpython/libplpython*.a)
3434
endif
3535

36+
ifeq ($(PORTNAME), cygwin)
37+
SHLIB_LINK += -L../hstore -lhstore -L../../src/pl/plpython\
38+
-lplpython$(python_majorversion)$(python_libspec)
39+
endif
40+
3641
REGRESS_OPTS += --load-extension=hstore
3742
ifeq ($(python_majorversion),2)
3843
REGRESS_OPTS += --load-extension=plpythonu --load-extension=hstore_plpythonu

‎contrib/ltree_plpython/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ ifeq ($(PORTNAME), win32)
3333
SHLIB_LINK +=$(wildcard ../../src/pl/plpython/libpython*.a)$(wildcard ../../src/pl/plpython/libplpython*.a)
3434
endif
3535

36+
ifeq ($(PORTNAME), cygwin)
37+
SHLIB_LINK += -L../ltree -lltree -L../../src/pl/plpython\
38+
-lplpython$(python_majorversion)$(python_libspec)
39+
endif
40+
3641
REGRESS_OPTS += --load-extension=ltree
3742
ifeq ($(python_majorversion),2)
3843
REGRESS_OPTS += --load-extension=plpythonu --load-extension=ltree_plpythonu

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp