MAKE_KDEFX_LIB

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Mon Apr 17 21:15:23 CEST 2006


> -----Original Message-----
> From: Paulo Jorge Guedes [mailto:Paulo.Guedes at artelecom.pt]
> Sent: segunda-feira, 17 de Abril de 2006 19:35
> To: kde-buildsystem at kde.org
> Subject: MAKE_KDEFX_LIB
> 
> 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)

Obviously not :)

This defines are generated into flags.make and the one in question is
indeed in the kdefx.dir.
Don't know why it doesn't work... the above fixes it (although the wrong
fix).

Paulo


More information about the Kde-buildsystem mailing list