MAKE_KDEFX_LIB

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Mon Apr 17 20:35:16 CEST 2006


Hi,

Currently MAKE_KDEFX_LIB is not being defined, which causes linkage
errors in kstyles:

#ifndef KDEFX_EXPORT
# ifdef MAKE_KDEFX_LIB
#  define KDEFX_EXPORT  KDE_EXPORT
# else
#  define KDEFX_EXPORT KDE_IMPORT
# endif
#endif

Would this be a correct fix into kdelibs/CMakeLists.txt?

-add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS}
-DHAVE_CONFIG_H=1) 
+add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DHAVE_CONFIG_H=1
-DMAKE_KDEFX_LIB) 

Paulo



More information about the Kde-buildsystem mailing list