Module: check_mk
Branch: master
Commit: b8e7a196deea3038a90e6f4b2c43daf6330da86d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b8e7a196deea30…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jan 18 10:43:04 2013 +0100
Hopefully fix compile problem with diet on some distros
---
livestatus/src/Makefile.am | 4 ++--
livestatus/src/strutil.c | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/livestatus/src/Makefile.am b/livestatus/src/Makefile.am
index b498b67..ef95b9f 100644
--- a/livestatus/src/Makefile.am
+++ b/livestatus/src/Makefile.am
@@ -26,7 +26,7 @@ bin_PROGRAMS = unixcat livecheck
unixcat_SOURCES = unixcat.c
unixcat_LDADD = -lpthread
-livecheck_SOURCES = livecheck.c strutil.cc check_icmp.c
+livecheck_SOURCES = livecheck.c strutil.c check_icmp.c
pkglib_LIBRARIES = livestatus.so
@@ -52,7 +52,7 @@ livestatus_so_SOURCES = \
global_counters.c module.c logger.c waittriggers.c TimeperiodsCache.cc pnp4nagios.cc
\
ContactgroupsColumn.cc opids.cc auth.cc livechecking.c
-livecheck$(EXEEXT): livecheck.c strutil.cc check_icmp.c
+livecheck$(EXEEXT): livecheck.c strutil.c check_icmp.c
if HAVE_DIET
diet -v $(CC) -Wno-deprecated-declarations $(CFLAGS) $(LDFLAGS) -I.. -s -o $@ $^
else
diff --git a/livestatus/src/strutil.c b/livestatus/src/strutil.c
new file mode 120000
index 0000000..82ed8f1
--- /dev/null
+++ b/livestatus/src/strutil.c
@@ -0,0 +1 @@
+strutil.cc
\ No newline at end of file