summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
Diffstat (limited to 'cython')
-rw-r--r--cython/Makefile.am14
1 files changed, 7 insertions, 7 deletions
diff --git a/cython/Makefile.am b/cython/Makefile.am
index b5090b1..1fd88b1 100644
--- a/cython/Makefile.am
+++ b/cython/Makefile.am
@@ -26,19 +26,19 @@ PXIINCLUDES = \
restore.pxi \
mobile_image_mounter.pxi
-CLEANFILES = \
- *.pyc \
- *.pyo \
- imobiledevice.c
+CLEANFILES = \
+ *.pyc \
+ *.pyo \
+ imobiledevice.c
EXTRA_DIST = imobiledevice.pyx imobiledevice.pxd $(PXIINCLUDES)
imobiledevicedir = $(pyexecdir)
imobiledevice_LTLIBRARIES = imobiledevice.la
imobiledevice_la_SOURCES = imobiledevice.pyx
-imobiledevice_la_CFLAGS = -I../include -I../src $(PYTHON_CPPFLAGS) $(AM_CFLAGS) -Wno-shadow -Wno-redundant-decls -Wno-switch-default -Wno-strict-aliasing -Wno-implicit-function-declaration
-imobiledevice_la_LDFLAGS = -module -avoid-version -L$(libdir) $(PYTHON_LDFLAGS) $(AM_LDFLAGS)
-imobiledevice_la_LIBADD = ../src/libimobiledevice.la
+imobiledevice_la_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src $(PYTHON_CPPFLAGS) $(AM_CFLAGS) -Wno-shadow -Wno-redundant-decls -Wno-switch-default -Wno-strict-aliasing -Wno-implicit-function-declaration
+imobiledevice_la_LDFLAGS = -module -avoid-version -L$(libdir) $(PYTHON_LDFLAGS) $(AM_LDFLAGS) -no-undefined
+imobiledevice_la_LIBADD = $(top_builddir)/src/libimobiledevice.la
imobiledevice.c: imobiledevice.pyx $(PXDINCLUDES) $(PXIINCLUDES)