summaryrefslogtreecommitdiffstats
path: root/lib/kross/python
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-07-26 18:12:33 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-07-26 18:12:54 +0200
commit13b67c9bf79a68cd654e94ff24a0b9274681ace6 (patch)
tree48efc8a447491f2eaf9ccac7b306bc0ef224bdc2 /lib/kross/python
parentad5d5e83d748c73885eb9016137b2a13f1ec2a36 (diff)
downloadkoffice-13b67c9bf79a68cd654e94ff24a0b9274681ace6.tar.gz
koffice-13b67c9bf79a68cd654e94ff24a0b9274681ace6.zip
Fix FTBFS with libpqxx >= 6.x
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit c17464869b6c5f7fbbf5a072ea470fbfff2ae26b)
Diffstat (limited to 'lib/kross/python')
-rw-r--r--lib/kross/python/Makefile.am2
-rw-r--r--lib/kross/python/cxx/Makefile.am2
2 files changed, 4 insertions, 0 deletions
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 = \