Content-Length: 262525 | pFad | http://github.com/postgrespro/postgres/commit/f0cd57f852cb88a4252db175317ec4627ec1b1cd

FE meson: Fix binary mismatch for MSVC plperl vs gcc built perl libs · postgrespro/postgres@f0cd57f · GitHub
Skip to content

Commit f0cd57f

Browse files
committed
meson: Fix binary mismatch for MSVC plperl vs gcc built perl libs
This mirrors ccc59a8.
1 parent 4441fc7 commit f0cd57f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

meson.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,12 @@ if not perlopt.disabled()
909909

910910
if host_system == 'windows'
911911
perl_ccflags += ['-DPLPERL_HAVE_UID_GID']
912+
913+
if cc.get_id() == 'msvc'
914+
# prevent binary mismatch between MSVC built plperl and Strawberry or
915+
# msys ucrt perl libraries
916+
perl_ccflags += ['-DNO_THREAD_SAFE_LOCALE']
917+
endif
912918
endif
913919

914920
message('CCFLAGS recommended by perl: @0@'.format(perl_ccflags_r))

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/f0cd57f852cb88a4252db175317ec4627ec1b1cd

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy