diff mbox series

[babeltrace] Fix: use the configured swig executable

Message ID 1505770093-23415-1-git-send-email-mjeanson@efficios.com
State Accepted, archived
Headers show
Series [babeltrace] Fix: use the configured swig executable | expand

Commit Message

Michael Jeanson Sept. 18, 2017, 9:28 p.m. UTC
Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
 bindings/python/bt2/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jérémie Galarneau Sept. 18, 2017, 9:52 p.m. UTC | #1
Merged in master and stable-2.0.

Thanks!
Jérémie

On 18 September 2017 at 17:28, Michael Jeanson <mjeanson at efficios.com> wrote:
> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
>  bindings/python/bt2/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bindings/python/bt2/Makefile.am b/bindings/python/bt2/Makefile.am
> index fe1c83b..9474ebb 100644
> --- a/bindings/python/bt2/Makefile.am
> +++ b/bindings/python/bt2/Makefile.am
> @@ -80,7 +80,7 @@ copy-static-deps.stamp: $(STATIC_BINDINGS_DEPS)
>         touch $@
>
>  build-python-bindings.stamp: copy-static-deps.stamp $(GENERATED_BINDINGS_DEPS)
> -       $(BUILD_FLAGS) $(PYTHON) $(builddir)/setup.py build_ext
> +       $(BUILD_FLAGS) $(PYTHON) $(builddir)/setup.py build_ext --swig "$(SWIG)"
>         $(BUILD_FLAGS) $(PYTHON) $(builddir)/setup.py build
>         touch $@
>
> --
> 2.7.4
>
diff mbox series

Patch

diff --git a/bindings/python/bt2/Makefile.am b/bindings/python/bt2/Makefile.am
index fe1c83b..9474ebb 100644
--- a/bindings/python/bt2/Makefile.am
+++ b/bindings/python/bt2/Makefile.am
@@ -80,7 +80,7 @@  copy-static-deps.stamp: $(STATIC_BINDINGS_DEPS)
 	touch $@
 
 build-python-bindings.stamp: copy-static-deps.stamp $(GENERATED_BINDINGS_DEPS)
-	$(BUILD_FLAGS) $(PYTHON) $(builddir)/setup.py build_ext
+	$(BUILD_FLAGS) $(PYTHON) $(builddir)/setup.py build_ext --swig "$(SWIG)"
 	$(BUILD_FLAGS) $(PYTHON) $(builddir)/setup.py build
 	touch $@