diff options
| author | Zher Huei Lee | 2017-08-07 23:13:15 +0800 |
|---|---|---|
| committer | Zher Huei Lee | 2017-08-19 19:29:14 +0800 |
| commit | e3e2f063244804bb147418dc219ba6db8219304b (patch) | |
| tree | 87257d17446d115f3a2f1ba5a11a6b1bd286420e /platform/x11/detect.py | |
| parent | bf1f83ed29a3cc2833a1ad7b5080b2d162ed0a88 (diff) | |
| download | godot-e3e2f063244804bb147418dc219ba6db8219304b.tar.gz godot-e3e2f063244804bb147418dc219ba6db8219304b.tar.zst godot-e3e2f063244804bb147418dc219ba6db8219304b.zip | |
Diffstat (limited to 'platform/x11/detect.py')
| -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 79778136a..94bb9ca67 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -188,6 +188,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 |
