Skip to content

Commit

Permalink
pcre2: fix misnamed variable
Browse files Browse the repository at this point in the history
It's really a list of platforms that support sealloc.  sljit can be used
without sealloc.
  • Loading branch information
bgilbert authored and neheb committed Sep 14, 2024
1 parent 528fae4 commit 86c633a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subprojects/packagefiles/pcre2/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ platform_is_unixlike = host_machine.system() in [
'cygwin'
]

platform_supports_sljit = host_machine.system() in [
platform_supports_sealloc = host_machine.system() in [
'linux',
'netbsd'
]
Expand Down Expand Up @@ -66,7 +66,7 @@ endif

if not get_option('jit_sealloc').disabled()
if c_compiler.has_function('mkostemp', prefix: '#include <stdlib.h>', args: ['-D_GNU_SOURCE'])
if platform_supports_sljit
if platform_supports_sealloc
cdata.set10('SLJIT_PROT_EXECUTABLE_ALLOCATOR', true)
elif get_option('jit_sealloc').enabled()
error('Your configuration is not supported')
Expand Down

0 comments on commit 86c633a

Please sign in to comment.