diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/Makefile.am | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 53cf2ed..a01f665 100644 --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,7 @@ libimobiledevice_VERSION=`$PKG_CONFIG --modversion "libimobiledevice-1.0" 2>&1` PKG_CHECK_MODULES(libglib2, glib-2.0 >= 2.14.1) PKG_CHECK_MODULES(libgthread2, gthread-2.0 >= 2.14.1) PKG_CHECK_MODULES(libfuse, fuse >= 2.7.0) +PKG_CHECK_MODULES(libplist, libplist) # Checks for header files. AC_HEADER_STDC diff --git a/src/Makefile.am b/src/Makefile.am index 8ea6824..4492ddd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,8 @@ -AM_CFLAGS = $(libglib2_CFLAGS) $(libfuse_CFLAGS) $(libimobiledevice_CFLAGS) -g -AM_LDFLAGS = $(libglib2_LIBS) $(libfuse_LIBS) $(libimobiledevice_LIBS) +AM_CFLAGS = $(libglib2_CFLAGS) $(libfuse_CFLAGS) $(libimobiledevice_CFLAGS) $(libplist_CFLAGS) -g +AM_LDFLAGS = $(libglib2_LIBS) $(libfuse_LIBS) $(libimobiledevice_LIBS) $(libplist_LIBS) bin_PROGRAMS = ifuse ifuse_SOURCES = ifuse.c + +ifuse_LDADD = $(AM_LDFLAGS) |