From e2034480561f1266bd0fa975ba74956b0301695f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 23 Jun 2021 17:21:16 +0200 Subject: Separate OTRPlugin object code from the OTRPluginFactory definition. This resolves bug 1153. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix support for GCC hidden visibility. Signed-off-by: Slávek Banko (cherry picked from commit 8403288e0159dbe377403e5f089072685a9d94f3) --- src/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 0486258..06300a5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,8 +8,8 @@ INCLUDES = $(all_includes) -I$(kde_includes)/kopete -I$(kde_includes)/tde/kopete kde_module_LTLIBRARIES = kcm_kopete_otr.la kopete_otr.la -kopete_otr_la_SOURCES = kopete_otr.kcfgc otrguiclient.cpp otrplugin.cpp - +kopete_otr_la_SOURCES = otrplugin-factory.cpp + kopete_otr_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) \ -lkopete @@ -39,7 +39,9 @@ rc_DATA = otrchatui.rc otrui.rc lib_LTLIBRARIES = libkotr.la libkotr_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -libkotr_la_SOURCES = otrlchatinterface.cpp otrlconfinterface.cpp \ +libkotr_la_SOURCES = \ + kopete_otr.kcfgc otrguiclient.cpp otrplugin.cpp \ + otrlchatinterface.cpp otrlconfinterface.cpp \ privkeypopup.cpp privkeypopupui.ui smppopup.cpp smppopupui.ui verifypopup.cpp \ verifypopupui.ui libkotr_la_LIBADD = -lotr -- cgit v1.2.1