From 983c4afb010c6b1a8fb49a238ba6de6e4d8e8f0d Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 7 Jul 2017 05:35:24 -0400 Subject: [PATCH] fix correct use of CFLAGS over LDFLAGS Change-Id: Ibea683fea6f16cc3a944c99de4db44051571fcba --- daemon/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/Makefile b/daemon/Makefile index de42d52e3..dd09e07b0 100644 --- a/daemon/Makefile +++ b/daemon/Makefile @@ -8,9 +8,9 @@ CFLAGS+= `pkg-config --cflags zlib` CFLAGS+= `pkg-config --cflags openssl` CFLAGS+= `pkg-config --cflags libevent_pthreads` CFLAGS+= `pcre-config --cflags` -LDFLAGS+= `pkg-config xmlrpc_client --cflags 2> /dev/null || xmlrpc-c-config client --cflags` -LDFLAGS+= `pkg-config xmlrpc --cflags 2> /dev/null` -LDFLAGS+= `pkg-config xmlrpc_util --cflags 2> /dev/null` +CFLAGS+= `pkg-config xmlrpc_client --cflags 2> /dev/null || xmlrpc-c-config client --cflags` +CFLAGS+= `pkg-config xmlrpc --cflags 2> /dev/null` +CFLAGS+= `pkg-config xmlrpc_util --cflags 2> /dev/null` CFLAGS+= `pkg-config --cflags json-glib-1.0` CFLAGS+= -I. -I../kernel-module/ -I../lib/ CFLAGS+= -D_GNU_SOURCE