Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Veksler <Mihails.Vekslers@zabbix.com>2018-03-16 12:19:55 +0300
committerMichael Veksler <Mihails.Vekslers@zabbix.com>2018-03-16 12:19:55 +0300
commitac3fa6c9e8bf46740633b215cd89277dd5fd3652 (patch)
tree09a7a8744d26b0ab78561dcd036586e392a9707b /Makefile.am
parent00cd7a3cf16635e0807e4ef2a4cec32068f5638f (diff)
...G...PS. [DEV-761] Redirect of Log file output to stdout. Implementation of mock for function __zbx_zabbix_log()
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index de7ad9c024d..cec25d5aa0d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -134,12 +134,16 @@ WRAP_COMM_FUNCS = \
-Wl,--wrap=read \
-Wl,--wrap=connect
+WRAP_LOG = \
+ -Wl,--wrap=__zbx_zabbix_log
+
COMMON_WRAP_FUNCS = \
$(WRAP_DB_FUNCS) \
$(WRAP_IO_FUNCS) \
$(WRAP_FS_FUNCS) \
$(WRAP_EXIT) \
- $(WRAP_COMM_FUNCS)
+ $(WRAP_COMM_FUNCS) \
+ $(WRAP_LOG)
tests_build:
$(MAKE) $(AM_MAKEFLAGS) && \