Hi,

CC librsyslog_la-rsyslog.lo looks for liblogging/stdlog.h and doesn't find
it when liblogging is supposed to be picked from a non-standard
location(because include path doesn't have it).

This patch adds the liblogging cflags to the invocation args.

PFA patch.

-- 
Regards,
Janmejay
http://codehunk.wordpress.com
From 770d84a0315d05abff5f9254d63aa6d41b9c9051 Mon Sep 17 00:00:00 2001
From: Janmejay Singh <[email protected]>
Date: Fri, 17 Oct 2014 15:04:46 +0530
Subject: [PATCH] without liblogging-ccflags, CC librsyslog_la-rsyslog.lo fails
 in absense of liblogging/stdlog.h

---
 runtime/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/Makefile.am b/runtime/Makefile.am
index a100938..2be6207 100644
--- a/runtime/Makefile.am
+++ b/runtime/Makefile.am
@@ -106,7 +106,7 @@ else
 librsyslog_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"$(pkglibdir)/\" -I\$(top_srcdir) -I\$(top_srcdir)/grammar
 endif
 #librsyslog_la_LDFLAGS = -module -avoid-version
-librsyslog_la_CPPFLAGS += $(PTHREADS_CFLAGS) $(LIBUUID_CFLAGS) $(JSON_C_CFLAGS) -I\$(top_srcdir)/tools
+librsyslog_la_CPPFLAGS += $(PTHREADS_CFLAGS) $(LIBUUID_CFLAGS) $(JSON_C_CFLAGS) $(LIBLOGGING_STDLOG_CFLAGS) -I\$(top_srcdir)/tools
 librsyslog_la_LIBADD =  $(DL_LIBS) $(RT_LIBS) $(LIBUUID_LIBS) $(JSON_C_LIBS)
 
 #
-- 
2.0.4

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to