projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4441fc7
)
meson: Fix binary mismatch for MSVC plperl vs gcc built perl libs
author
Andres Freund
<
[email protected]
>
Mon, 28 Nov 2022 19:41:39 +0000
(11:41 -0800)
committer
Andres Freund
<
[email protected]
>
Mon, 28 Nov 2022 19:43:31 +0000
(11:43 -0800)
This mirrors
ccc59a83cd9
.
meson.build
patch
|
blob
|
blame
|
history
diff --git
a/meson.build
b/meson.build
index 058382046e152d05bd8a84305541111917a9eb34..725e10d815ca6dc72bd4d5ba166bb10799744d06 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-909,6
+909,12
@@
if not perlopt.disabled()
if host_system == 'windows'
perl_ccflags += ['-DPLPERL_HAVE_UID_GID']
+
+ if cc.get_id() == 'msvc'
+ # prevent binary mismatch between MSVC built plperl and Strawberry or
+ # msys ucrt perl libraries
+ perl_ccflags += ['-DNO_THREAD_SAFE_LOCALE']
+ endif
endif
message('CCFLAGS recommended by perl: @0@'.format(perl_ccflags_r))