summaryrefslogtreecommitdiff
path: root/src/OS
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-12-21 20:31:31 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2019-12-21 20:31:31 +0000
commit8aa16eb712afac844fb28ed465c6076c6b0ea22b (patch)
tree50f34d3db1b19bda1e508f5a4339fbbf67a136de /src/OS
parent4a3709fb2cfb1ec26ac60bcdb8bbc078d3377ddc (diff)
Eximon: fix string-handling. Bug 2500
Diffstat (limited to 'src/OS')
-rw-r--r--src/OS/Makefile-Base6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/OS/Makefile-Base b/src/OS/Makefile-Base
index 36af8308d..7122bc019 100644
--- a/src/OS/Makefile-Base
+++ b/src/OS/Makefile-Base
@@ -870,9 +870,9 @@ em_text.o: ../exim_monitor/em_text.c ../exim_monitor/em_hdr.h
em_xs.o: ../exim_monitor/em_xs.c ../exim_monitor/em_hdr.h
em_version.o: ../exim_monitor/em_version.c ../exim_monitor/em_hdr.h
$(MONBIN): $(HDRS)
- @echo "$(CC) exim_monitor/`echo $@ | sed 's/o$$/c/'`"
- $(FE)$(CC) -o $@ -c $(CFLAGS) -I. -I../exim_monitor $(INCLUDE) $(XINCLUDE) \
- ../exim_monitor/`echo $@ | sed 's/o$$/c/'`
+ @echo "$(CC) exim_monitor/$(@:.o=.c)"
+ $(FE)$(CC) -o $@ -c $(CFLAGS) -DCOMPILE_UTILITY -I. -I../exim_monitor $(INCLUDE) $(XINCLUDE) \
+ ../exim_monitor/$(@:.o=.c)
# Targets for the various libraries that Exim uses.