Description : Fixed pkgconfig information. 54/82554/1
authorwchang kim <wchang.kim@samsung.com>
Thu, 4 Aug 2016 05:41:11 +0000 (14:41 +0900)
committerwchang kim <wchang.kim@samsung.com>
Thu, 4 Aug 2016 05:41:11 +0000 (14:41 +0900)
Missing some information in CFlags and Libs.
-llazymount
-I/usr/include/lazymount

Change-Id: Idbdc66e398c5497ee75c232f6b3f8294a4d4832f

Makefile.am
configure.ac

index 0b09619..2e507e8 100644 (file)
@@ -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 \
index 4fd5105..5f0e9de 100644 (file)
@@ -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}")