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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy