diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-03-16 08:41:17 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-03-17 11:36:05 +0100 |
commit | 5fa2c3b3cb8fb04adb5dace900ce03e8b5a1c9b4 (patch) | |
tree | d84fef919de9d1f2976c01088b11216779a7b75b /trace/wscript | |
parent | record: Add support for base64 encoded input (diff) | |
download | rtems-tools-5fa2c3b3cb8fb04adb5dace900ce03e8b5a1c9b4.tar.bz2 |
record: Add zlib filter class
Update #3904.
Diffstat (limited to '')
-rw-r--r-- | trace/wscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/trace/wscript b/trace/wscript index 7e35f74..656f92b 100644 --- a/trace/wscript +++ b/trace/wscript @@ -42,6 +42,8 @@ def configure(conf): pass if conf.check_cxx(lib = 'LLVM', mandatory=False): conf.check(header_name='llvm/DebugInfo/Symbolize/Symbolize.h', features='cxx', mandatory=False) + if conf.check(header_name='zlib.h', features='cxx', mandatory=False): + conf.check_cxx(lib = 'z') conf.check_cxx(lib = 'ws2_32', mandatory=False) conf.write_config_header('config.h') @@ -65,6 +67,8 @@ def build(bld): conf['lib'].extend(bld.env.LIB_WS2_32) if bld.env.LIB_LLVM: conf['lib'].extend(bld.env.LIB_LLVM) + if bld.env.LIB_Z: + conf['lib'].extend(bld.env.LIB_Z) # # The list of defines @@ -81,6 +85,7 @@ def build(bld): 'record/record-text.c', 'record/record-client-base.cc', 'record/record-filter-base64.cc', + 'record/record-filter-zlib.cc', 'record/record-main-lttng.cc', 'record/inih/ini.c'], includes = conf['includes'], |