summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/nexscope
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-12-31 12:15:57 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-12-31 12:21:45 +0100
commit5363fd55b8fed6a22d63017ff110ddd7dc619c1a (patch)
tree800c4cdcf14dc062f6a0d70746d04fcf508bc16e /noatun-plugins/nexscope
parentaf0617f88ea621a3cd8de1c9814f53da4afbefaa (diff)
downloadtdeaddons-5363fd55b8fed6a22d63017ff110ddd7dc619c1a.tar.gz
tdeaddons-5363fd55b8fed6a22d63017ff110ddd7dc619c1a.zip
Add option WITH_GCC_VISIBILITY.
Fix building with hidden visibility. Add missing definitions to config.h.cmake. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 762bfec2c849854fc0247acf8d2f107c27b17940)
Diffstat (limited to 'noatun-plugins/nexscope')
-rw-r--r--noatun-plugins/nexscope/noatunplugin.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noatun-plugins/nexscope/noatunplugin.cpp b/noatun-plugins/nexscope/noatunplugin.cpp
index 25deaf6..cb5f9c6 100644
--- a/noatun-plugins/nexscope/noatunplugin.cpp
+++ b/noatun-plugins/nexscope/noatunplugin.cpp
@@ -8,11 +8,11 @@
extern "C"
{
-Plugin *create_plugin()
-{
- TDEGlobal::locale()->insertCatalogue("nexscope");
- return new NexPlugin();
-}
+ KDE_EXPORT Plugin* create_plugin()
+ {
+ TDEGlobal::locale()->insertCatalogue("nexscope");
+ return new NexPlugin();
+ }
}