summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang kim <wchang.kim@samsung.com>2016-08-04 14:41:11 +0900
committerwchang kim <wchang.kim@samsung.com>2016-08-04 14:41:11 +0900
commit5ed58f4011c1439f180594a4d762974e3a2888d9 (patch)
tree5bd07b50e8ccdc11e59c47cfe918a96dea49ff90
parent07000677442aa3f38086a4c58b05500fc4edde5d (diff)
downloadsystem-plugin-5ed58f4011c1439f180594a4d762974e3a2888d9.tar.gz
system-plugin-5ed58f4011c1439f180594a4d762974e3a2888d9.tar.bz2
system-plugin-5ed58f4011c1439f180594a4d762974e3a2888d9.zip
Description : Fixed pkgconfig information.
Missing some information in CFlags and Libs. -llazymount -I/usr/include/lazymount Change-Id: Idbdc66e398c5497ee75c232f6b3f8294a4d4832f
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 0b09619..2e507e8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -140,7 +140,8 @@ liblazymount_la_CFLAGS = \
$(LIBLAZYMOUNT_PC_CFLAGS)
liblazymount_la_LIBADD = \
- $(LIBLAZYMOUNT_PC_LIBS)
+ -L$(prefix)/lib \
+ -lvconf
noinst_liblazymount_la_SOURCES = \
src/liblazymount/lazy_mount.h \
diff --git a/configure.ac b/configure.ac
index 4fd5105..5f0e9de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -120,8 +120,8 @@ PKG_CHECK_MODULES(VCONF, vconf)
# ------------------------------------------------------------------------------
AC_SUBST([LIBLAZYMOUNT_PC_REQUIRES], "")
-AC_SUBST([LIBLAZYMOUNT_PC_CFLAGS], "-D_GNU_SOURCE")
-AC_SUBST([LIBLAZYMOUNT_PC_LIBS], "-L${libdir}")
+AC_SUBST([LIBLAZYMOUNT_PC_CFLAGS], "-D_GNU_SOURCE -I${prefix}/include/lazymount")
+AC_SUBST([LIBLAZYMOUNT_PC_LIBS], "-L${libdir} -llazymount")
AC_SUBST([LIBLAZYMOUNT_PC_REQUIRES], "${LIBLAZYMOUNT_PC_REQUIRES} ${VCONF_REQUIRES}")
AC_SUBST([LIBLAZYMOUNT_PC_CFLAGS], "${LIBLAZYMOUNT_PC_CFLAGS} ${VCONF_CFLAGS}")