summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2015-12-10 17:07:31 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2015-12-10 17:07:31 +0100
commit6533591ca2d5590a21c5f94fca2696e4ea643712 (patch)
treea7884f836e69649911aa059952a731ec4e31b85d
parent015e28a88825e7194af39bde8c5c1c1302e3a784 (diff)
add config path
Change-Id: Iab9ee131dfae873de67c39da92203c86fe721105
-rw-r--r--src/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 144d48a..c74983e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,9 +23,14 @@ SECWRP = \
APPFWK = \
appfwk.c
+
+#pkgsysconfdir = $(sysconfdir)
+pkgsysconfdir = .
+
AM_CFLAGS = -Wall -Wno-pointer-sign
AM_CFLAGS += -ffunction-sections -fdata-sections
AM_CFLAGS += ${ZIP_CFLAGS} ${XML2_CFLAGS} ${OPENSSL_CFLAGS} ${XMLSEC_CFLAGS}
+AM_CFLAGS += -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\"
AM_LDFLAGS = -Wl,--gc-sections