aboutsummaryrefslogtreecommitdiff
path: root/platform/x11/detect.py
diff options
context:
space:
mode:
authorZher Huei Lee2017-08-07 23:13:15 +0800
committerZher Huei Lee2017-08-19 19:29:14 +0800
commite3e2f063244804bb147418dc219ba6db8219304b (patch)
tree87257d17446d115f3a2f1ba5a11a6b1bd286420e /platform/x11/detect.py
parentbf1f83ed29a3cc2833a1ad7b5080b2d162ed0a88 (diff)
downloadgodot-e3e2f063244804bb147418dc219ba6db8219304b.tar.gz
godot-e3e2f063244804bb147418dc219ba6db8219304b.tar.zst
godot-e3e2f063244804bb147418dc219ba6db8219304b.zip
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r--platform/x11/detect.py5
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