Skip to content
Discussion options

You must be logged in to vote

Now this seems to be the result of:

      pcre2 = cc.find_library('pcre2-8', required : false)

in the mason.build file but I can't find a way to affect where this find_library is looking for its target.

That's only used on Windows. The full check is:

pcre2 = dependency('libpcre2-8', version: pcre2_req, required: false, default_options: ['default_library=static'])
if not pcre2.found()
  if cc.get_id() == 'msvc' or cc.get_id() == 'clang-cl'
  # MSVC: Search for the PCRE2 library by the configuration, which corresponds
  # to the output of CMake builds of PCRE2.  Note that debugoptimized
  # is really a Release build with .PDB files.
    if vs_crt == 'debug'
      pcre2 = cc.find_library('p…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@DidierMalenfant
Comment options

@DidierMalenfant
Comment options

@eli-schwartz
Comment options

@DidierMalenfant
Comment options

Answer selected by DidierMalenfant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants