Fix fvisibility option

pull/16/head
Timothy Pearson 13 years ago
parent 24f144faf9
commit 91f3b7f8f8

@ -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}
)

@ -66,6 +66,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 ${ELFICON_STATIC_LIB}
LINK tdeui-shared tdesu-shared kwalletclient-shared ${LIBR_LIBRARIES}
LINK ltdlc-static tdeui-shared tdesu-shared kwalletclient-shared ${LIBR_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)

@ -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")))

@ -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;

@ -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 );

Loading…
Cancel
Save