Skip to content

Commit

Permalink
Unset static flag if system pcre2 lib is used.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Mar 1, 2024
1 parent 5323560 commit c2b9208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ endif
pcre2_dep_opt = get_option('use_sys_pcre2')
pcre2_dep = disabler()
if (pcre2_dep_opt.enabled() or pcre2_dep_opt.auto()) and not meson.is_cross_build()
pcre2_dep = dependency('libpcre2-8', required: false, static: true)
pcre2_dep = dependency('libpcre2-8', required: false, static: false)
if not pcre2_dep.found()
pcre2_dep = cc.find_library('pcre2', required: true, static: true)
endif
Expand Down

0 comments on commit c2b9208

Please sign in to comment.