mirror of
https://github.com/postgres/postgres.git
synced 2025-05-28 00:03:23 -04:00
meson: Fix binary mismatch for MSVC plperl vs gcc built perl libs
This mirrors ccc59a83cd9.
This commit is contained in:
parent
4441fc704d
commit
f0cd57f852
@ -909,6 +909,12 @@ if not perlopt.disabled()
|
|||||||
|
|
||||||
if host_system == 'windows'
|
if host_system == 'windows'
|
||||||
perl_ccflags += ['-DPLPERL_HAVE_UID_GID']
|
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
|
endif
|
||||||
|
|
||||||
message('CCFLAGS recommended by perl: @0@'.format(perl_ccflags_r))
|
message('CCFLAGS recommended by perl: @0@'.format(perl_ccflags_r))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user