projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: force _lttng python binding to be linked with g++
[lttng-tools.git]
/
extras
/
bindings
/
swig
/
python
/
Makefile.am
diff --git
a/extras/bindings/swig/python/Makefile.am
b/extras/bindings/swig/python/Makefile.am
index 5d9bcc127ebded1dee0ee7a92069dfda03242fa3..d9cdd680d52756541314116896996ee02a5c500f 100644
(file)
--- a/
extras/bindings/swig/python/Makefile.am
+++ b/
extras/bindings/swig/python/Makefile.am
@@
-34,6
+34,11
@@
_lttng_la_LIBADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
$(top_builddir)/src/common/libsessiond-comm.la \
$(top_builddir)/src/common/libcommon-gpl.la
$(top_builddir)/src/common/libsessiond-comm.la \
$(top_builddir)/src/common/libcommon-gpl.la
+# Use this fake source file to force the link mode of the library
+# from gcc to g++. The library contains only C code, but depends on
+# libstdc++.
+nodist_EXTRA__lttng_la_SOURCES = dummy.cpp
+
lttng_wrap.c: lttng.i
$(SWIG) -python -I. -I$(top_srcdir)/src/common/sessiond-comm lttng.i
lttng_wrap.c: lttng.i
$(SWIG) -python -I. -I$(top_srcdir)/src/common/sessiond-comm lttng.i
This page took
0.025085 seconds
and
4
git commands to generate.