build script: do not build c++ pcre libraries

This commit is contained in:
alexey.lysiuk 2020-12-06 12:25:45 +02:00
parent c8db3273ea
commit f1eedf85d0
2 changed files with 5 additions and 4 deletions

4
.gitignore vendored
View file

@ -21,9 +21,7 @@
/deps/openal/lib/cmake/
/deps/opusfile/lib/libopusurl.a
/deps/pcre/bin/
/deps/pcre/include/pcre_*.h
/deps/pcre/include/pcrecpp*.h
/deps/pcre/lib/libpcrecpp.a
/deps/pcre/lib/pkgconfig/libpcreposix.pc
/deps/pcre/lib/libpcreposix.a
/deps/sndfile/bin/
/deps/sndfile/include/sndfile.hh

View file

@ -850,7 +850,10 @@ class OpusFileTarget(ConfigureMakeStaticDependencyTarget):
class PcreTarget(ConfigureMakeStaticDependencyTarget):
def __init__(self, name='pcre'):
super().__init__(name)
self.options['--enable-unicode-properties'] = 'yes'
opts = self.options
opts['--enable-unicode-properties'] = 'yes'
opts['--enable-cpp'] = 'no'
def prepare_source(self, builder: 'Builder'):
builder.download_source(