You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
SCons: Fix linking system pcre2 on server platform
Fixes #17245.
(cherry picked from commit e619727e99)
This commit is contained in:
@@ -127,6 +127,11 @@ def configure(env):
|
|||||||
if not env['builtin_libogg']:
|
if not env['builtin_libogg']:
|
||||||
env.ParseConfig('pkg-config ogg --cflags --libs')
|
env.ParseConfig('pkg-config ogg --cflags --libs')
|
||||||
|
|
||||||
|
# On Linux wchar_t should be 32-bits
|
||||||
|
# 16-bit library shouldn't be required due to compiler optimisations
|
||||||
|
if not env['builtin_pcre2']:
|
||||||
|
env.ParseConfig('pkg-config libpcre2-32 --cflags --libs')
|
||||||
|
|
||||||
## Flags
|
## Flags
|
||||||
|
|
||||||
# Linkflags below this line should typically stay the last ones
|
# Linkflags below this line should typically stay the last ones
|
||||||
|
|||||||
Reference in New Issue
Block a user