From 28d1fcac0eda09e829ef8c8b46fad0e45590af16 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 10 Nov 2009 13:37:24 +0100 Subject: Require libplist++ in order to fix linking of Python bindings [#84 state:resolved] Signed-off-by: Matt Colyer --- configure.ac | 1 + swig/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 $@ $< -- cgit v1.1-32-gdbae