From 13b67c9bf79a68cd654e94ff24a0b9274681ace6 Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Thu, 26 Jul 2018 18:12:33 +0200 Subject: Fix FTBFS with libpqxx >= 6.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit c17464869b6c5f7fbbf5a072ea470fbfff2ae26b) --- lib/kross/python/Makefile.am | 2 ++ lib/kross/python/cxx/Makefile.am | 2 ++ 2 files changed, 4 insertions(+) (limited to 'lib/kross/python') diff --git a/lib/kross/python/Makefile.am b/lib/kross/python/Makefile.am index 743b3e0c5..0fc935562 100644 --- a/lib/kross/python/Makefile.am +++ b/lib/kross/python/Makefile.am @@ -1,5 +1,7 @@ include $(top_srcdir)/lib/kross/Makefile.global +CXXFLAGS += $(USE_EXCEPTIONS) + kde_module_LTLIBRARIES = krosspython.la krosspython_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) $(LIBPYTHON) $(PYTHONLIB) -module $(VER_INFO) diff --git a/lib/kross/python/cxx/Makefile.am b/lib/kross/python/cxx/Makefile.am index d1c72c873..4e1377c00 100644 --- a/lib/kross/python/cxx/Makefile.am +++ b/lib/kross/python/cxx/Makefile.am @@ -1,5 +1,7 @@ include $(top_srcdir)/lib/kross/Makefile.global +CXXFLAGS += $(USE_EXCEPTIONS) + noinst_LTLIBRARIES = libkrosspythoncxx.la libkrosspythoncxx_la_SOURCES = \ -- cgit v1.2.3