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

Commitf4c069c

Browse files
committed
Here is a patch required to build plperl with win32. The issues were:
* perl_useshrplib gets set to "yes" and not to "true". I assume it's setto "true" on unix, so I left both.* Need to translate backslashes into slashes* The linker config coming out of perl was for MSVC and not for mingwMagnus Hagander
1 parent14755f8 commitf4c069c

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

‎src/pl/plperl/GNUmakefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Makefile for PL/Perl
2-
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.14 2004/07/05 23:24:12 tgl Exp $
2+
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.15 2004/07/16 19:18:24 momjian Exp $
33

44
subdir = src/pl/plperl
55
top_builddir = ../../..
@@ -8,6 +8,9 @@ include $(top_builddir)/src/Makefile.global
88
ifeq ($(perl_useshrplib),true)
99
shared_libperl = yes
1010
endif
11+
ifeq ($(perl_useshrplib),yes)
12+
shared_libperl = yes
13+
endif
1114

1215
# If we don't have a shared library and the platform doesn't allow it
1316
# to work without, we have to skip it.
@@ -18,7 +21,13 @@ ifeq ($(GCC),yes)
1821
overrideCFLAGS :=$(filter-out -Wall -Wmissing-declarations -Wmissing-prototypes,$(CFLAGS))
1922
endif
2023

21-
overrideCPPFLAGS := -I$(srcdir) -I$(perl_archlibexp)/CORE$(CPPFLAGS)
24+
ifeq ($(PORTNAME), win32)
25+
perl_archlibexp :=$(subst \,/,$(perl_archlibexp))
26+
perl_privlibexp :=$(subst \,/,$(perl_privlibexp))
27+
perl_embed_ldflags := -L$(perl_archlibexp)/CORE -lperl58
28+
endif
29+
30+
overrideCPPFLAGS := -I$(srcdir)$(CPPFLAGS) -I$(perl_archlibexp)/CORE
2231

2332

2433
NAME = plperl

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp