diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-12-31 12:15:57 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-12-31 12:15:57 +0100 |
commit | 762bfec2c849854fc0247acf8d2f107c27b17940 (patch) | |
tree | dddce1b148241162ab70667fcd28cd421c7c8f14 /noatun-plugins/dub | |
parent | c3d0b8b21f6a174cd45213b6c3dcd85b203aafaa (diff) | |
download | tdeaddons-762bfec2c849854fc0247acf8d2f107c27b17940.tar.gz tdeaddons-762bfec2c849854fc0247acf8d2f107c27b17940.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>
Diffstat (limited to 'noatun-plugins/dub')
-rw-r--r-- | noatun-plugins/dub/dub/dubplaylist.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/noatun-plugins/dub/dub/dubplaylist.cpp b/noatun-plugins/dub/dub/dubplaylist.cpp index 20537a7..a8e91df 100644 --- a/noatun-plugins/dub/dub/dubplaylist.cpp +++ b/noatun-plugins/dub/dub/dubplaylist.cpp @@ -24,11 +24,14 @@ #include "dubplaylist.h" // plugin interface -extern "C" Plugin *create_plugin() +extern "C" { - TDEGlobal::locale()->insertCatalogue("dub"); - DubPlaylist* dub = new DubPlaylist; - return dub; + KDE_EXPORT Plugin* create_plugin() + { + TDEGlobal::locale()->insertCatalogue("dub"); + DubPlaylist* dub = new DubPlaylist; + return dub; + } } /** Construct playlist object */ |