> -----Original Message----- > From: Paulo Jorge Guedes [mailto:[EMAIL PROTECTED] > Sent: segunda-feira, 17 de Abril de 2006 19:35 > To: [email protected] > 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 _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
