From 4050f960a91375f427effad50b5f5f0070aadab2 Mon Sep 17 00:00:00 2001 From: Julien Lavergne Date: Tue, 8 Feb 2011 02:46:54 +0100 Subject: Fix linking with binutils-gold by directly linking with libplist --- configure.ac | 1 + 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) -- cgit v1.1-32-gdbae