diff options
author | Martin Szulecki | 2009-11-10 13:37:24 +0100 |
---|---|---|
committer | Martin Szulecki | 2009-11-10 13:37:24 +0100 |
commit | d4bdab8bd7cc5030341d2bf13dbd006fc13a6a1c (patch) | |
tree | 0fafdc95ecfa0bcc763bc30a4918cc28f3fe5e55 | |
parent | 748167d15c7848ec1a814e3c4f429f3a05714918 (diff) | |
download | libimobiledevice-d4bdab8bd7cc5030341d2bf13dbd006fc13a6a1c.tar.gz libimobiledevice-d4bdab8bd7cc5030341d2bf13dbd006fc13a6a1c.tar.bz2 |
Require libplist++ in order to fix linking of Python bindings
-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 $@ $< |