diff options
author | Martin Szulecki | 2009-11-10 13:37:24 +0100 |
---|---|---|
committer | Matt Colyer | 2009-11-11 07:34:29 -0800 |
commit | 28d1fcac0eda09e829ef8c8b46fad0e45590af16 (patch) | |
tree | 4d7064468d46a4d4dfbae7dfa9b0e7d812aeecda | |
parent | eaf80002c6e82c6b7a376bb61c9884ec3cf750b4 (diff) | |
download | libimobiledevice-28d1fcac0eda09e829ef8c8b46fad0e45590af16.tar.gz libimobiledevice-28d1fcac0eda09e829ef8c8b46fad0e45590af16.tar.bz2 |
Require libplist++ in order to fix linking of Python bindings
[#84 state:resolved]
Signed-off-by: Matt Colyer <matt@colyer.name>
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | swig/Makefile.am | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ccbf59b..58aee42 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,7 @@ PKG_CHECK_MODULES(libgthread2, gthread-2.0 >= 2.14.1) PKG_CHECK_MODULES(libgnutls, gnutls >= 1.6.3 ) PKG_CHECK_MODULES(libtasn1, libtasn1 >= 1.1) PKG_CHECK_MODULES(libplist, libplist >= 0.15) +PKG_CHECK_MODULES(libplistmm, libplist++ >= 0.15) AC_CHECK_LIB(gcrypt, gcry_control, [AC_SUBST(libgcrypt_LIBS,[-lgcrypt])], ["libgcrypt is required to build libiphone"]) # Checks for header files. diff --git a/swig/Makefile.am b/swig/Makefile.am index f3f9714..0da739b 100644 --- a/swig/Makefile.am +++ b/swig/Makefile.am @@ -24,7 +24,7 @@ iPhone_LTLIBRARIES = _iPhone.la nodist__iPhone_la_SOURCES = iphone_wrap.cxx $(SWIG_SOURCES) _iPhone_la_CFLAGS = $(PYTHON_CPPFLAGS) -I$(top_srcdir)/src _iPhone_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) -_iPhone_la_LIBADD = $(top_builddir)/src/libiphone.la +_iPhone_la_LIBADD = $(top_builddir)/src/libiphone.la $(libplistmm_LIBS) iphone_wrap.cxx : $(SWIG_SOURCES) $(SWIG) $(SWIG_PYTHON_OPT) $(INCLUDES) -I$(top_srcdir)/src -o $@ $< |