From kde-core-devel Wed Aug 01 10:06:03 2001 From: Simon Hausmann Date: Wed, 01 Aug 2001 10:06:03 +0000 To: kde-core-devel Subject: Re: KlibLoader and friends X-MARC-Message: https://marc.info/?l=kde-core-devel&m=99666053602023 On Wed, Aug 01, 2001 at 10:33:37AM +0100, Mike Richardson wrote: > On Wednesday 01 August 2001 10:19, Simon Hausmann wrote: > > On Wed, Aug 01, 2001 at 10:02:55AM +0100, Mike Richardson wrote: > > > I've been working on embedding python in an app (Rekall) and have hit a > > > KLibLoader related problem. > > > > > > So, can KLibLoader et al be extended to allow RTLD_GLOBAL to be passed to > > > dlopen in some (portable - I noticed that ltld.c defines a portable > > > global flag, but never uses it?) way. One possibility might be to extend > > > the X-KDE-Library entry in .desktop files to allow something like > > > > > > X-KDE-Library=libfoobar,flags > > > > > > in which case a simple change to the .desktop file sorts things. > > > Alternatively, X-KDE-Library-Flags being defined as a standard entry > > > perhaps? > > > > I think that's exactly why George added the globalLibary() method to > > KLibLoader, which should exactly do what you're looking for. > > > > Bye, > > Simon > > Thanx. I guess this is 2.2? Yup :) Bye, Simon