Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mjeanson@efficios.com (Michael Jeanson)
Subject: [lttng-dev] [PATCH babeltrace stable-1.5] Fix: Add missing LIBS to python bindings
Date: Fri, 26 May 2017 14:25:37 -0400	[thread overview]
Message-ID: <1495823137-7024-1-git-send-email-mjeanson@efficios.com> (raw)

Also move includes to CPPFLAGS.

Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
 .gitignore                  | 1 +
 bindings/python/Makefile.am | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 9259b6f..e3db41f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,5 +54,6 @@ bindings/python/babeltrace/__init__.py
 bindings/python/babeltrace/babeltrace.i
 bindings/python/babeltrace/babeltrace.py
 bindings/python/babeltrace/babeltrace_wrap.c
+bindings/python/build-python-bindings.stamp
 babeltrace.pc
 babeltrace-ctf.pc
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index 9e44127..f6806a8 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -23,9 +23,10 @@ BINDINGS_DEPS=setup.py \
 		babeltrace/python-complements.h
 
 BUILD_FLAGS=CC="$(CC)" \
-		CFLAGS="$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(GLIB_CFLAGS) $(AM_CFLAGS)" \
-		CPPFLAGS="$(AM_CPPFLAGS) $(CPPFLAGS)" \
-		LDFLAGS="$(AM_LDFLAGS) $(LDFLAGS)"
+		CFLAGS="$(GLIB_CFLAGS) $(AM_CFLAGS) $(CFLAGS)" \
+		CPPFLAGS="$(DEFS) $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)" \
+		LDFLAGS="$(AM_LDFLAGS) $(LDFLAGS)" \
+		LIBS="$(GLIB_LIBS) $(LIBS)"
 
 build-python-bindings.stamp: $(BINDINGS_DEPS)
 	$(BUILD_FLAGS) $(PYTHON) $(builddir)/setup.py build_ext
-- 
2.7.4



                 reply	other threads:[~2017-05-26 18:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1495823137-7024-1-git-send-email-mjeanson@efficios.com \
    --to=mjeanson@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox