diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-08-31 11:56:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-31 11:56:19 +0200 |
commit | 0cee288c1147f0f719682c544ea21b13faddf347 (patch) | |
tree | ebb259da2bb6b8d25976c02dbd21681647bf38d7 /platform/x11 | |
parent | 3b0b0a1d99e2eb8e6d2ca05c74b9ce5b0c556fce (diff) | |
parent | e3e2f063244804bb147418dc219ba6db8219304b (diff) |
Merge pull request #10148 from leezh/pcre2
Replacement of internal RegEx with PCRE2
Diffstat (limited to 'platform/x11')
-rw-r--r-- | platform/x11/detect.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index f355de0eb3..086681d4a4 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -190,6 +190,11 @@ def configure(env): if any(platform.machine() in s for s in list_of_x86): env["x86_libtheora_opt_gcc"] = True + # On Linux wchar_t should be 32-bits + # 16-bit library shouldn't be required due to compiler optimisations + if (env['builtin_pcre2'] == 'no'): + env.ParseConfig('pkg-config libpcre2-32 --cflags --libs') + ## Flags if (os.system("pkg-config --exists alsa") == 0): # 0 means found |