projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
376af68
)
Fix PL/Perl build on Cygwin
author
Peter Eisentraut
<peter@eisentraut.org>
Fri, 2 Sep 2022 15:56:14 +0000
(17:56 +0200)
committer
Peter Eisentraut
<peter@eisentraut.org>
Fri, 2 Sep 2022 15:56:14 +0000
(17:56 +0200)
This was broken by
b4e936859dc441102eb0b6fb7a104f3948c90490
. The
reason why this fixes it are not entirely clear, but it seemed the
best way to get it working again.
Discussion: https://www.postgresql.org/message-id/flat/
8c4fcb72
-2574-ff7c-4c25-
1f032d4a2a57
%40enterprisedb.com
src/pl/plperl/GNUmakefile
patch
|
blob
|
blame
|
history
diff --git
a/src/pl/plperl/GNUmakefile
b/src/pl/plperl/GNUmakefile
index 1ebf3c9ba2bb9a723f90963ad7dde6cb6b0735e6..51f8890d15d982811dafd12f099cc88658632b76 100644
(file)
--- a/
src/pl/plperl/GNUmakefile
+++ b/
src/pl/plperl/GNUmakefile
@@
-55,6
+55,11
@@
endif # win32
SHLIB_LINK = $(perl_embed_ldflags)
+# see https://www.postgresql.org/message-id/flat/8c4fcb72-2574-ff7c-4c25-1f032d4a2a57%40enterprisedb.com
+ifeq ($(PORTNAME), cygwin)
+SHLIB_LINK += -Wl,--export-all-symbols
+endif
+
REGRESS_OPTS = --dbname=$(PL_TESTDB)
REGRESS = plperl_setup plperl plperl_lc plperl_trigger plperl_shared \
plperl_elog plperl_util plperl_init plperlu plperl_array \