Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1c3aa54

Browse files
committed
Fix PL/Perl build on Cygwin
This was broken by b4e9368. 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
1 parent 376af68 commit 1c3aa54

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/pl/plperl/GNUmakefile

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ endif # win32
5555

5656
SHLIB_LINK = $(perl_embed_ldflags)
5757

58+
# see https://www.postgresql.org/message-id/flat/8c4fcb72-2574-ff7c-4c25-1f032d4a2a57%40enterprisedb.com
59+
ifeq ($(PORTNAME), cygwin)
60+
SHLIB_LINK += -Wl,--export-all-symbols
61+
endif
62+
5863
REGRESS_OPTS = --dbname=$(PL_TESTDB)
5964
REGRESS = plperl_setup plperl plperl_lc plperl_trigger plperl_shared \
6065
plperl_elog plperl_util plperl_init plperlu plperl_array \

0 commit comments

Comments
 (0)