summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7cdfd24..e01521b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,12 +2,14 @@ SUBDIRS = data pics
INCLUDES = -I/usr/include/qt3 $(all_includes)
+CXXFLAGS += $(USE_EXCEPTIONS)
+
kde_module_LTLIBRARIES = kio_sword.la
kio_sword_la_SOURCES = kio_sword.cpp renderer.cpp ks_osishtml.cpp ks_gbfhtml.cpp \
ks_thmlhtml.cpp utils.cpp swordutils.cpp swordoptions.cpp filter.cpp template.cpp
-kio_sword_la_LIBADD = -lqt-mt -lkio $(LIB_SWORD)
+kio_sword_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KIO) $(LIB_SWORD)
kio_sword_la_LDFLAGS = -avoid-version -module $(all_libraries) $(KDE_PLUGIN)