Skip to content

Commit

Permalink
SCons: Fix linking system pcre2 on server platform
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Mar 4, 2018
1 parent 184b2fe commit e619727
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions platform/server/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ def configure(env):
if not env['builtin_libogg']:
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

# Linkflags below this line should typically stay the last ones
Expand Down

0 comments on commit e619727

Please sign in to comment.