diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-09 14:46:23 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-23 02:22:26 +0100 |
commit | 6999f571c6255e157b7ced0dd3017412ed691d7c (patch) | |
tree | 0f6797637dc8092f25c0b53d541445dd406045dc | |
parent | 05b2e1bc9c15f5f17d3e83fd9a5e33cf52ef3ad3 (diff) | |
download | tdelibs-6999f571c6255e157b7ced0dd3017412ed691d7c.tar.gz tdelibs-6999f571c6255e157b7ced0dd3017412ed691d7c.zip |
Fix fvisibility option
(cherry picked from commit 91f3b7f8f8d1a9b67e747d43adacef550521b6c1)
-rw-r--r-- | kdefx/kstyle.cpp | 2 | ||||
-rw-r--r-- | kinit/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kio/CMakeLists.txt | 2 | ||||
-rw-r--r-- | kjs/global.h.in | 2 | ||||
-rw-r--r-- | networkstatus/networkstatuscommon.cpp | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/kdefx/kstyle.cpp b/kdefx/kstyle.cpp index 9e02431bb..b37ae91c1 100644 --- a/kdefx/kstyle.cpp +++ b/kdefx/kstyle.cpp @@ -2358,7 +2358,7 @@ void KStyle::virtual_hook( int, void* ) // HACK for gtk-qt-engine -KDE_EXPORT extern "C" +extern "C" KDE_EXPORT void kde_kstyle_set_scrollbar_type_windows( void* style ) { ((KStyle*)style)->setScrollBarType( KStyle::WindowsStyleScrollBar ); diff --git a/kinit/CMakeLists.txt b/kinit/CMakeLists.txt index c64bcfc33..348c4dd8d 100644 --- a/kinit/CMakeLists.txt +++ b/kinit/CMakeLists.txt @@ -39,7 +39,7 @@ set( ${target}_SRCS tde_add_executable( ${target} SOURCES ${${target}_SRCS} - LINK kparts-shared + LINK ltdlc-static kparts-shared DESTINATION ${BIN_INSTALL_DIR} ) @@ -100,7 +100,7 @@ set( target kioslave ) tde_add_executable( ${target} AUTOMOC SOURCES kioslave.cpp - LINK kio-shared + LINK ltdlc-static kio-shared DESTINATION ${BIN_INSTALL_DIR} ) diff --git a/kio/CMakeLists.txt b/kio/CMakeLists.txt index 4805c1c1b..1bb149284 100644 --- a/kio/CMakeLists.txt +++ b/kio/CMakeLists.txt @@ -64,6 +64,6 @@ tde_add_library( ${target} SHARED SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp VERSION 4.2.0 EMBED kssl-static kiocore-static ksycoca-static kbookmarks-static kfile-static - LINK kdeui-shared kdesu-shared kwalletclient-shared ${ACL_LIBRARIES} + LINK ltdlc-static kdeui-shared kdesu-shared kwalletclient-shared ${ACL_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} ) diff --git a/kjs/global.h.in b/kjs/global.h.in index 571bc7c5e..bd8d46b81 100644 --- a/kjs/global.h.in +++ b/kjs/global.h.in @@ -34,7 +34,7 @@ #define KJS_PACKED #endif -#undef __KDE_HAVE_GCC_VISIBILITY +#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 #ifdef __KDE_HAVE_GCC_VISIBILITY #define KJS_EXPORT __attribute__ ((visibility("default"))) diff --git a/networkstatus/networkstatuscommon.cpp b/networkstatus/networkstatuscommon.cpp index 574862929..1360830b6 100644 --- a/networkstatus/networkstatuscommon.cpp +++ b/networkstatus/networkstatuscommon.cpp @@ -22,7 +22,7 @@ #include "networkstatuscommon.h" #include <kdebug.h> -TQDataStream & operator<< ( TQDataStream & s, const NetworkStatus::Properties p ) +KDE_EXPORT TQDataStream & operator<< ( TQDataStream & s, const NetworkStatus::Properties p ) { kdDebug() << k_funcinfo << "status is: " << (int)p.status << endl; s << (int)p.status; @@ -33,7 +33,7 @@ TQDataStream & operator<< ( TQDataStream & s, const NetworkStatus::Properties p return s; } -TQDataStream & operator>> ( TQDataStream & s, NetworkStatus::Properties &p ) +KDE_EXPORT TQDataStream & operator>> ( TQDataStream & s, NetworkStatus::Properties &p ) { int status, onDemandPolicy, internet; s >> status; |