]> sigrok.org Git - libsigrok.git/commitdiff
Build: Tell setup.py where to find SWIG
authorDaniel Elstner <redacted>
Tue, 18 Aug 2015 18:09:53 +0000 (20:09 +0200)
committerDaniel Elstner <redacted>
Tue, 18 Aug 2015 18:14:14 +0000 (20:14 +0200)
Makefile.am

index f66c9cea248de4e92a153710f8ac66fb9129dce1..70ae97b11ecee564935cb4268254f274df21815f 100644 (file)
@@ -563,7 +563,8 @@ $(PDIR)/timestamp: bindings/cxx/libsigrokcxx.la $(PDIR)/sigrok/core/classes.i \
                bindings/swig/classes.i bindings/swig/enums.i $(PDOC) \
                $(library_include_HEADERS) $(nodist_library_include_HEADERS)
        $(AM_V_at)$(MAKE) python-quietclean
-       $(AM_V_GEN)cd $(PDIR) && $(PYTHON) $(abs_srcdir)/$(PDIR)/setup.py --quiet build 3>&1 1>&2 2>&3 \
+       $(AM_V_GEN)cd $(PDIR) && $(PYTHON) $(abs_srcdir)/$(PDIR)/setup.py \
+               --quiet build_ext --swig "$(SWIG)" build_py build 3>&1 1>&2 2>&3 \
                | grep -v "command line option.*Wstrict-prototypes"; true
        $(AM_V_at)touch $(PDIR)/timestamp