X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=extras%2Fbindings%2Fswig%2Fpython%2FMakefile.am;h=d9cdd680d52756541314116896996ee02a5c500f;hb=f2b390e97d3b6ec347fe7c4af3b46256716ae054;hp=5d9bcc127ebded1dee0ee7a92069dfda03242fa3;hpb=6a96f8dfc76652c37392cbb021eb4122bba592f0;p=lttng-tools.git diff --git a/extras/bindings/swig/python/Makefile.am b/extras/bindings/swig/python/Makefile.am index 5d9bcc127..d9cdd680d 100644 --- 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 +# 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